Unity Issue Tracker - Wrong script is opened when double-clicking the runtime error in the Console
Closed
UUM-29088
Wrong script is opened when double-clicking the runtime error in the Console
Unity: CodeEditors
Won't Fix
2023.3.X
2023.2.X
2023.1.X
2022.2.X
2021.3.X
Cannot Reproduce
6.0.X
Cancelling this 2023.2 tech release issue since the support for this release has come to end of life. Cancelling this 2023.2 port case does not affect any LTS or Unity 6 Beta/Preview that remain open.
Closing this port, since this Unity version is no longer supported.
Closing this port, since this Unity version is no longer supported.
How to reproduce:
1. Open the project ”IN_31123”
2. Open the “-MAIN resizing UI” Scene
3. Enter the Play Mode
4. Wait until the 4th error “NullReferenceException: Object reference not set to an instance of an object MovementSwitcher.Awake () (at Assets/MovementSwitcher.cs:31)” pops up
5. Double-click the error
Expected result: “MovementSwitcher.cs” script is opened
Actual result: “AgeingAction_Transmute.cs” script is opened
Reproducible with: 2021.3.11f1, 2021.3.20f1, 2022.2.9f1, 2023.1.0b6, 2023.2.0a3
Couldn't test with: 2020.3.46f1, 2021.3.10f1 (due to compiler errors)
Reproducible on: Windows 10 Pro
Notes:
Reproducible with Visual studio and Rider
Couldn’t reproduce with first error “ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
LoadProceduralCreature+<LoadCO>d__17.MoveNext () (at Assets/Scripts/Game/LoadProceduralCreature.cs:99)” in the Console
4th step could take up to 5 min
Prioritise and Follow this issue
Have a workaround or additional info about this issue?