Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.2.X, 2021.1.X
Votes
13
Found in
2019.4
2019.4.16f1
2020.2
2021.1
Issue ID
1300887
Regression
No
[AssetDatabase] Prefab resource is null when loaded after restart of Editor
Reproduction steps:
1. Open user attached Project
2. Open "Assets\Scenes\SampleScene" Scene
3. Press Play
4. Restart the Editor
5. Press Play
Expected result: Scene loads without any errors
Actual result: An Error is logged to the console because the Prefab is loaded as Null
Reproducible with: 2019.4.18f1, 2020.2.2f1, 2021.1.0b2
Could not test with: 2018.4.30f1 (Compiler errors)
Notes:
Does not reproduce with Asset Database v1
Reimporting fixes the issue, until the next Editor restart
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a4
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0b7
Resolution Note (fix version 2020.2):
Fixed in 2020.2.5f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.21f1