Search Unity

UnityVideo player memory leak in PC builds?

Discussion in 'Scripting' started by rastleks, Nov 15, 2017.

  1. rastleks

    rastleks

    Joined:
    Jul 17, 2014
    Posts:
    49
    Hi all.

    I use Unity Video player in my project. Version 2017.1.f2

    All wokrs just fine in Unity Editor, but i have large memory leak in standalone build.
    I put video clip from Unity (not streaming assets). It looks like application trying to load all video in memory.
    But even after Stop, when no videos are playing, memory continuously leak. Profiler show nothing, because in Editor all workd fine and memory doesn't leak (i see it in Task Manager and Profiler).

    Can anyone help me please?
     
  2. TaleOf4Gamers

    TaleOf4Gamers

    Joined:
    Nov 15, 2013
    Posts:
    825
    You can connect the profiler to a build
    https://docs.unity3d.com/Manual/ProfilerWindow.html

    Try that and let me know how if it shows anything.

    I think you dont need another device, it should work on an instance running on the same machine as the editor ;)