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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (2022.1.X):
Backing out the change as it caused other issues, upon retesting the issue no longer reproduces.