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

Unity Editor randomly freezing during playback of VR game

Discussion in 'Editor & General Support' started by konradkunze, Mar 22, 2017.

  1. konradkunze

    konradkunze

    Joined:
    Jan 11, 2017
    Posts:
    10
    Hi,

    since approx. a year, we are developing a VR game for Oculus and SteamVR. There is one thing, regularily screwing up the work day: the Unity Editor just randomly crashing.

    What happens:
    When running the game from the Unity Editor, after a couple of seconds the Editor freezes. The game seems still be running in the background (as music is still playing) but Unity does not react to anything anymore. The only thing you can do is kill it with the Windows task manager.

    When does it happen:
    Absolutely random! Approx. 1 time every two weeks. The problem is, once it is happening, it is always happening and you can't get the game working anymore in the editor. If you start the compiled game from outside of unity, everything works fine.
    When this happens we start testing our builds by compiling them and running them from outside of the editor. (But as you can imagine, that is not a god way for testing it.)
    After some time, the game can be run from inside the Editor again. Everything works fine then, until... at some random time it happens again...

    This error is occuring since the beginning from our development in Unity 5.3, 5.4 and 5.5. It is also happening on all dev machines (but all are running windows 10).

    As we can't force reproduce it, this is hard to debug.

    My questions:
    * Is there any way to debug the Unity editor itself when it freezes?
    * Is there any issues already known of the Unity Editor freezing during playback?

    Kind regards,
    Konrad