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.