Search Issue Tracker
Won't Fix
Won't Fix in 2023.1.X
Votes
0
Found in
2020.3.42f1
2021.3.14f1
2022.1.23f1
2022.2.0f1
2023.1.0a21
Issue ID
UUM-20142
Regression
No
NullReferenceException when calling EditorCoroutineUtility.StopCoroutine from EditorApplication.update event
Reproduction steps:
1. Open the “Coroutines“ project
2. Open the “SampleScene“ scene
3. In Scene view disable and enable 2D mode
Expected result: no errors in the Console
Actual result: a NullReferenceException in the Console
Reproduced in: 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0f1, 2023.1.0a21
Reproduced using: macOS Monterey 12.0.1 (Intel)
Full error:
NullReferenceException: Object reference not set to an instance of an object
Unity.EditorCoroutines.Editor.EditorCoroutine.ProcessIEnumeratorRecursive (System.Collections.IEnumerator enumerator) (at Library/PackageCache/com.unity.editorcoroutines@1.0.0/Editor/EditorCoroutine.cs:126)
Unity.EditorCoroutines.Editor.EditorCoroutine.MoveNext () (at Library/PackageCache/com.unity.editorcoroutines@1.0.0/Editor/EditorCoroutine.cs:115)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:359)
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
- Diagnostics does not report Editor exceptions when using CrashReportingSettings.captureEditorExceptions
- No Prompt to restart the Editor appears when Changing Active Input Handling via Project Settings Presets
- Exporting a .csv file includes entries with ExcludeEntryFromExport when the first locale entry is null
- Collections package fails module verification when compiling and adding Burst function pointers to a HashMap inside a Burst compiled method
- Panel.Pick() returns incorrect elements when the target UIDocument's Render Mode is set to World Space
Resolution Note:
After review we have elected not to address this issue at this time.
Resolution Note (2023.1.X):
After review we have elected not to address this issue at this time.