Skip to content

Cameras Memory Leaks#35

Merged
prony5 merged 2 commits intomainfrom
hotfix/cameras-memory-leaks
Jul 19, 2025
Merged

Cameras Memory Leaks#35
prony5 merged 2 commits intomainfrom
hotfix/cameras-memory-leaks

Conversation

@Sh1co
Copy link
Contributor

@Sh1co Sh1co commented Jul 18, 2025

Compressed images: There was a memory leak due to AsyncGPUReadback still triggering callbacks after the object was disposed.

Depth images: The built-in Unity sensor only disposes on OnDestroy(). Disabling and re-enabling the camera caused reinitialization without proper cleanup, leading to memory issues.

@Sh1co Sh1co requested a review from prony5 July 18, 2025 07:13
@prony5 prony5 merged commit 14fb321 into main Jul 19, 2025
@prony5 prony5 deleted the hotfix/cameras-memory-leaks branch July 19, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants