Search Unity

AnimationPlayableAsset in assetbundle will cause memory leak

Discussion in 'Timeline' started by Suika, Feb 12, 2018.

  1. Suika

    Suika

    Joined:
    Nov 19, 2013
    Posts:
    33
    I load one timeline in scene via assetbundle and then switch to another scene, but in profiler it still show that AnimationPlayableAsset in Timeline remain in memory referenced by : ManagedStaticReferences()

    And after several switch game will crash by memory leak.

    Any way to fix this? Or is there anything that I do wrong ?

    Thx 圖片 6.png
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    That is strange, almost arbitrary, that only that object would leak. Can you submit a bug with a repro project so we can investigate?
     
  3. Suika

    Suika

    Joined:
    Nov 19, 2013
    Posts:
    33
    Hi,

    I had report this bug. Is Case 1001595

    Thx
     
    seant_unity likes this.