Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Editor crash .. maybe when loading a scene

Discussion in 'Editor & General Support' started by Kiupe, Sep 19, 2017.

  1. Kiupe

    Kiupe

    Joined:
    Feb 1, 2013
    Posts:
    528
    Hi guys,

    My Unity Editor crash everytime when I entering in play mode and a new scene is loaded. The crash log is the following and I don't know what to do ;-)

     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    does it crash with empty scene load?
    or disable most of the objects in that crashing scene and try load?
     
  3. Kiupe

    Kiupe

    Joined:
    Feb 1, 2013
    Posts:
    528
    Ok I made an other test. Actually it crashes when I unload scenes. No idea why !

    EDIT : Ok, to be more precise it crashes when I play a Timeline then I unload scenes. Currently unloaded scenes are those used by the timeline.
     
  4. Kiupe

    Kiupe

    Joined:
    Feb 1, 2013
    Posts:
    528
    Ok, so the things is that I unload scenes when the Timeline is complete. But "complete" means nothing for a "Playable Director" because when a Track is in "hold" mode the Timeline is still running and applying the last frame ... so when unloading scences I suspect Tracks are trying to access to null objects which cause the editor to crash.