Search Unity

Unity freezes on “Begin MonoManager ReloadAssembly”

Discussion in 'Editor & General Support' started by LuisMer, Jun 30, 2020.

  1. LuisMer

    LuisMer

    Joined:
    Jan 22, 2019
    Posts:
    3
    I have a unity project that freezes I think randlomly on play and on compilation events. As far as I checked, could be for something related to this. Seems that a blocked network thread persisting between playmode stop/starts could be causing the issue, but that is only my guess. I have researched about how to track and stop threads so that I can handle that when I stop playmode in editor, but as far as I checked here you can handle your own thread created.

    As the project freezes and there is no chance to debug, so no chance to check which thread is cousing the problem if any, as my project is big, my question then is if there is a clean way to stop/terminate cleanly all the active threads on the editor when you stop.

    The task manager when the freeze takes place shows the CPU at 0%.

    When the freeze takes place, with visual studio attached, on VS pause to check the running code (if any) showas no compatible code:

    upload_2020-6-30_16-46-58.png

    What Editor.log shows last is:

    Reloading assemblies for play mode.
    Begin MonoManager ReloadAssembly

    Unity version: 2018.4.12

    Thanks in advance for any help.