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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment