Search Issue Tracker
Won't Fix
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
- Prefab components are not rendered correctly in the Inspector Window when "HideFlags.HideInInspector" is used
- The "Editor.CreateInspectorGUI" method is being called twice when the Console and the Inspector windows are in the same panel
- [Linux Editor Only] Unity crashes on strtol_l when importing a specific .obj file
- The composition string is not cleared and is transferred to another Input Field when the previous Input Field loses focus in the macOS Player
- ShadowCaster2D does not update when using Sprite flipbook animation
Resolution Note:
After review we have elected not to address this issue at this time.