Search Issue Tracker
Not Reproducible
Votes
0
Found in
2018.4
2019.3.13f1
2019.4
Issue ID
1249713
Regression
No
[2019.4] Editor gets stuck in Prefab Mode when method added to prefabStageOpened callback throws NullReferenceException
How to reproduce:
1. Open the attached project "1249713.zip"
2. Open the "Test" Scene
3. In the menu bar click "BugTest" > "Test bug"
4. Double click any Prefab in the Project window
Expected result: the Scene View does not switch to Prefab Mode and the Prefab is not opened
Actual result: Prefab is not opened, however, the Scene View switches to Prefab Mode, the Hierarchy window displays empty Prefab header bar and "Not a prefab scene" error appears in the Console
Reproducible with: 2018.4.24f1, 2019.4.1f1, 2020.1.0a4
Not reproducible with: 2020.1.0a5, 2020.2.0a15
Note:
- 2020.1.0a5 and above throws System.NullReferenceException error to the Console as the Test.cs script tries to modify undefined Object - this is expected
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
Add comment