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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Issue only happen in VS Code, and public ticket has been closed by the customer.