1 year ago

#325093

test-img

Borhink

Unity freeze after random amount of time in debug mode

I have some problems with the Unity debugger.
Sometimes, after inspecting the execution step by step without any problems, if I try to resume the program or just go to the next step, Unity freezes as if the debugger is still blocking the execution.
In the editor, the debugger clearly shows that we have resumed execution but I can't get back to the Unity window. The only thing I can do is go to the task manager and force Unity to stop. Some additional information:

  • This can happen in any project
  • It is not related to a specific instruction, it can happen anywhere, randomly.
  • I tried waiting a long time to see if it was just a running instruction.
  • I tried to stop/restart the debugger.
  • I tried to close/open my editor (JetBrains Rider)
  • I'm using Unity 2019 on Windows 11
  • Other employees do not have this bug

Nothing works. I don't know why this is happening, it's really annoying that I can't figure out what's going on... I didn't find anything about this specific bug on google

c#

unity-game-engine

debugging

freeze

rider

0 Answers

Your Answer

Accepted video resources