First of all, because of the migration, I’m not used to unity dissections, so sorry if I don’t post on the correct “type” of problem.
I’m using version 2022.3.29f1, and Visual Studio 2022.
The debugger has plenty of bugs/inconveniences, the most annoying of them are the ones where I need to wait MINEUTS just to open the game ONE TIME.
After pressing the “Start” button, one of these things will happen.
1. Waiting for unity’s code in __________ to finish executing.
This has three stuff:
A: Unity.plasticSCM.editor.dll
B: unityeditor.coremodule.dll.
C: Waiting for unity’s code to finish executing.
It seems to randomly choose one of these every time. Sometimes it shows, and I can’t use the debugger, and sometimes it lets me to use the debugger, and if I can, after the first frame the message will disappear.
Edit: I have removed some packages, this happens much less, but sometimes it still happens.
2. Unity freezes.
This mostly happens after I press the start button, but sometimes it happens after I press “Attach to unity” button in Visual Studio.
Sometimes, unity will freeze, for minuets at a time. The freeze time depends on how much break points I have.
If I have a lot, it will take A LOT of time, if I have a bit of break points, it will freeze for a few seconds.
Edit: To partially fix the freeze, you can follow this: https://www.youtube.com/watch?v=M_ONTxE0pWg This only solves the problem if the freeze happens after pressing the start button, this still happens but much less. Like I said this can happen pressing “Attach to unity”, for that case it unfortunately does not work. So now the only thing is when unity freezes after pressing the “Attach to unity” button.
I just think it is ridicules I need to wait about 3 minuets, just to open the game once.
These things only happen while in the debugger.
Please, if you know why this happens or how to fix even one of these, I will very apricate it.