Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2017.1.1f1
Issue ID
968037
Regression
No
Unexpected jump while debugging nested loops in Visual Studio
How to reproduce:
1. Open Unity
2. Load user-submitted project
3. Open 'ArrayTest.cs' script in Visual Studio
4. Set Visual Studio debugger to 'Attach to and Play'
5. Launch the debugging session
6. Step through AssignArr() code using 'Step Over' function
Expected result: Debugger cursor stops on each executed line.
Actual result: Debugger cursor jumps from inside nested loop to parent method end unexpectedly.
Reproducible with - 5.6.0a1, 5.6.4p3, 2017.1.2p3, 2017.2.0p2, 2017.3.0b10, 2018.1.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor hangs when cutting and pasting a Script to another folder during Play Mode
- Animator Controller throws MissingReferenceException after undoing Layer Creation
- Full stack trace is always printed when an exception occurs in an IL2CPP build
- Licensing Client fails to launch when opening Unity Hub (licensing client path is not found)
- Licensing Client fails to launch when opening Unity Hub
Add comment