UiEffects / UiElements aren't properly diposed #8

Closed
opened 2025-07-19 02:57:16 +02:00 by rowan · 2 comments
Owner

When spawning an element with a fade in effect, releasing it, and then spawning it again, it will have an opacity of 0.

When spawning an element with a fade in effect, releasing it, and then spawning it again, it will have an opacity of 0.
rowan added this to the Prototype 1 milestone 2025-07-19 02:57:16 +02:00
rowan added the
bug
label 2025-07-19 02:57:16 +02:00
rowan added this to the World Space UI project 2025-07-19 02:57:16 +02:00
rowan self-assigned this 2025-07-19 03:02:32 +02:00
Author
Owner

The initial problem has been resolved but now there is an issue where elements aren't properly disposed of if they're spawned and despawned too quickly.

The initial problem has been resolved but now there is an issue where elements aren't properly disposed of if they're spawned and despawned too quickly.
rowan referenced this issue from a commit 2025-07-20 05:42:46 +02:00
rowan closed this issue 2025-07-20 05:42:46 +02:00
Author
Owner

Cancellation token requests linger for some time which caused some issues when reusing a pooled object that had just been canceled. Made the Dispose implementation a bit looser and added a timeout to each despawn request to ensure that it never hangs forever.

Cancellation token requests linger for some time which caused some issues when reusing a pooled object that had just been canceled. Made the Dispose implementation a bit looser and added a timeout to each despawn request to ensure that it never hangs forever.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rowan/canto#8
No description provided.