- Home /
iOS VideoPlayer doesn't unload temp RenderTexture in 2019
In Unity 2018 this worked fine - after upgrading to Unity 2019.1.8f the memory allocated after playing a movie with a VideoPlayer is never released.
Code (CSharp):
videoPlayer.Stop();
Destroy(videoPlayer);
imgCutscene.texture = null;
yield return Resources.UnloadUnusedAssets();
Even after changing a scene the memory is not released anymore. Unity's profiler doesn't show anything - only XCode shows the memory continuously going higher.
What else could/should I try ? I'm getting a bunch of build time warnings from deprecated API's being used regarding GLframeBuffer etc.
Your answer
Follow this Question
Related Questions
VideoPlayer ios StreamingAssets black render 1 Answer
Determining Texture Memory Usage 2 Answers
Can I load textures at runtime with a smaller memory footprint? 1 Answer
How to play a video on iPhone without using the native iOS video player? 0 Answers
iOS Unity Plugin : Load Video from 'Videos'app and Photo Library on iOS Device 0 Answers