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
- Unused Particle System Renderer Mesh settings cause performance degradation when calling SetActive
- Project Browser shows the Asset folder empty when Select Dependencies is clicked without any asset selected
- Export as JSON and CSV options missing from the Quick Search save feature
- Crash on IMGUI::GUIWindow::OnGUI when rendering scene view window in play mode in a specific project
- "FileNotFoundException" & "IOException" thrown when adding "User" Index after deleting "Assets" Index in Search Index Manager window
Resolution Note (2022.1.X):
Backing out the change as it caused other issues, upon retesting the issue no longer reproduces.