Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Scene Unload operations not being cleared

Discussion in 'Addressables' started by JakubTrailmix, Oct 23, 2019.

  1. JakubTrailmix

    JakubTrailmix

    Joined:
    Jun 1, 2018
    Posts:
    3
    Hi there, I've been integrating the Addressables system to out content management and loading system and I've noticed a worrying pattern when I've started using the Load and Unload scene mechanic.

    Our system works by creating load tasks for all items we might need in a given scenario, then processing loading and displaying the given content. When we're done we unload all of the items.
    We don't have any issues with regular assets loaded trough Addressables, they get nicely cleared out at the end.
    With the scenes though, for each loaded scene that gets unloaded, we get a leftover handle in the Addressable Profiler
    UnityEngine/ResourceManagement.ResourceProviders.SceneProvider+UnloadSceneOp, result'', status='None'
    .

    This also stays in the profiler when loading a scene with LoadMethod.Single to unload all previously loaded scenes.

    Is there a way to properly cleaned up? Or am I doing something wrong?

    Regards,
    Jakub
     
    RunninglVlan likes this.
  2. RunninglVlan

    RunninglVlan

    Joined:
    Nov 6, 2018
    Posts:
    13
    Confirming this on my end too with Addressables v1.3.8 (and Unity v2019.3.0b8)
    upload_2019-11-8_13-28-7.png
     
    Last edited: Nov 8, 2019 at 11:41 AM