MediaPipeUnityPlugin
MediaPipeUnityPlugin copied to clipboard
Memory Leakage causing lagging after some time in play mode
Plugin Version or Commit ID
v0.14.3
Unity Version
2022.3.27f1
Your Host OS
Windows 10
Target Platform
Windows Standalone
Target Device
No response
[Windows Only] Visual Studio C++ and Windows SDK Version
No response
[Linux Only] GCC/G++ and GLIBC Version
No response
[Android Only] Android Build Tools and NDK Version
No response
[iOS Only] XCode Version
No response
Build Command
I am not building native lib, I am just importing the mediaipipe.unity package
Bug Description
On entering play mode, at first its starting the scene with fps more than 40. But after some time, 55-60 seconds in my case (based on system) its showing lag and drop in fps from 45 to 8 or less.
Steps to Reproduce the Bug
- Select any scene eg. Pose Tracking or Task
- Enter into play mode
- After in between 60 and 120 seconds, the fps is dropping and its starting lagging.
Log
NA
Screenshot/Video
Additional Context
No response
How did you determine that a memory leak is the cause?
using memory profiler.
I mean, assuming there was a memory leak, why did you think that it was causing the delay?
Oh got it. Because the spike in memory and lagging is happening simultaneously. Please check or let me know if I need to share something specific to expedit the solution.