videokit-ai / videokit

Low-code, cross-platform media SDK for Unity Engine. Register at https://videokit.ai
https://videokit.ai
Apache License 2.0
107 stars 14 forks source link

Memory Leak on VideoKitCameraManager #99

Closed HyundongHwang closed 5 months ago

HyundongHwang commented 9 months ago

As shown in the picture below, a memory leak always occurs even when only the camera is rendered using the basic VideoKitCameraManager without a separate script.

I checked because crashes occur frequently in scenes using the cam on Android devices, and the same issue exists in MacOS Player.

To prevent memory leaks, did I miss something by adding script code or a separate implementation?

image
olokobayusuf commented 9 months ago

Hey @HyundongHwang , thanks for reporting this. We'll try to reproduce and get back to you.

HyundongHwang commented 5 months ago

@olokobayusuf Thank you for your kind reply. However, this problem is not a problem in actual AOS iOS devices, and it is normal even with the profiler. I'm not sure if it's just the display of the profiler in the MacOS editor that's the problem. So, I think it would be okay to close the issue without tracking it.