We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I use the method OpenCVForUnity.UnityUtils.Utils.renderTextureToMat memory usage goes up constantly as I am using the method in a LateUpdate.
If I instead manually convert the RenderTexture into a Texture2D and then use OpenCVForUnity.UnityUtils.Utils.texture2DToMat there is no memory leak.
I commented out all other code in my LateUpdate aside from the Mat conversion and renderTextureToMat leaks, texture2DToMat does not.
The text was updated successfully, but these errors were encountered:
Thank you very much for reporting. Could you please tell me which version of OpenCVForUnity you tried?
Sorry, something went wrong.
I am using version 2.5.8.
The Utils.renderTextureToMat() method does not seem to exist in OpenCVForUnity 2.5.8. What code have you tested?
My apologies, it seems the github version differs from the Asset store version. Is there somewhere better to direct my findings on that version?
No branches or pull requests
If I use the method OpenCVForUnity.UnityUtils.Utils.renderTextureToMat memory usage goes up constantly as I am using the method in a LateUpdate.
If I instead manually convert the RenderTexture into a Texture2D and then use OpenCVForUnity.UnityUtils.Utils.texture2DToMat there is no memory leak.
I commented out all other code in my LateUpdate aside from the Mat conversion and renderTextureToMat leaks, texture2DToMat does not.
The text was updated successfully, but these errors were encountered: