Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.16f1
2022.1.24f1
Issue ID
UUM-25091
Regression
No
InvalidFrameStackException is thrown when debugging the Update() method
Reproduction steps:
1. Open the attached project “ExceptionOnDebug“
2. Open the scene “Assets/MainScene”
3. Enter the Play Mode
4. Open the script “Assets/Plugins/External/LunarConsole/Scripts/LunarConsole.cs“ using the Visual Studio Code editor
5. Add Breakpoint to the 228th line
6. Attach Unity Debugger View>Command Pallete>Unity Attach Debugger
7. Press F11 a couple of times
8. Observe InvalidFrameStackException in the VS Code Debug Window
Expected result: Debugging process works without failure
Actual result: InvalidStackFremException is thrown randomly
Reproducible with: 2021.3.16f1, 2022.1.24f1
Couldn't test with: 2020.3.43f1 (“The type or namespace name 'PrefabStageUtility' does not exist in the namespace 'UnityEditor.SceneManagement'“), 2022.2f1 (“The type or namespace name 'NavMeshSurface' could not be found“), 2023.1.0a25 (Project crashes on launch)
Reproducible on: Windows 11
Note: The issue has been seen in VS Code and Rider editors
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Resolution Note:
Issue only happen in VS Code, and public ticket has been closed by the customer.