Search Issue Tracker
Fixed
Fixed in 2022.3.9f1, 2023.1.12f1, 2023.2.0b8, 2023.3.0a4
Votes
0
Found in
2021.3.16f1
2022.2.1f1
2023.1.0a21
2023.3.0a3
Issue ID
UUM-23148
Regression
No
Error "NullReferenceException" is thrown when making a Prefab from a Camera that has another Camera in its Stack
Steps to reproduce:
1. Open the “IN-23258” project
2. Open the “SampleScene” Scene (Assets → Scenes)
3. Select “Camera” GameObject in the Hierarchy
4. Add the “Camera (1)” GameObject to a Stack in the Inspector
5. Make “Camera” GameObject a Prefab (Drag it to the Assets folder)
6. Observe the Console
Expected result: One warning occurs.
Actual result: Many “NullReferenceException: Object reference not set to an instance of an object” errors are thrown.
Reproducible with: 2021.3.16f1, 2022.2.1f1, 2023.1.0a21
Could not test with: 2020.3.43f1 (Stack does not exist)
Reproduced on: macOS Ventura 13.0.1 Intel
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