Search Issue Tracker
Not Reproducible
Votes
0
Found in
2020.3
2021.1
2021.1.3f1
2021.2
Issue ID
1340462
Regression
No
Unity throws a NullReferenceException when reimporting an asset and having the Editor Window selected
How to reproduce:
1. Open the attached project "Playables_don_t_initialise_properly_on_startup_in_Edit_Mode.zip"
2. Open 'Sequence Coroutine' Scene
3. Select DefaultHumanoid in the Scene Hierarchy
4. In the Inspector expand the Animations array
5. Click the Eye icon next to 'Humanoid-Walk'
6. In Project View right-click 'Sequence Coroutine' script
7. Click Reimport
8. Quickly click on the Editor
Expected result: No errors are printed to the Console
Actual result: A NullReferenceException is printed to the Console
Reproducible with: 2020.3.11f1, 2021.1.10f1, 2021.2.0a19
Could not test with: 2018.4.34f1, 2019.4.28f1 (due to errors mentioned in case 1339675)
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
- Timeline section stops rendering after restoring Profiler Window modules
- Cursor image does not update when Cursor.SetCursor is called again with CursorMode.Auto
- Crash on do_runtime_invoke when reopening a specific project after failing to build it
- Animations change speed when rigidbody is added
- Low FPS persists when re-entering Play mode after an extended session in a specific project
Resolution Note (2022.1.X):
Backing out the change as it caused other issues, upon retesting the issue no longer reproduces.