Search Issue Tracker
Fixed
Fixed in 2023.3.0b5
Votes
0
Found in
2023.2.0a17
2023.3.0a3
Issue ID
UUM-37115
Regression
Yes
NullReferenceException thrown when a PSB Prefab with empty layers has a ShadowCaster2D component
Reproduction steps:
1. Open the attached project “2DShadow_Bugs.zip”
2. Open Assets/Scenes/PSB_EmptyLayerNullRef.unity
Expected result: no NullReferenceExceptions thrown
Actual result: two NullReferenceExceptions thrown
Reproducible with: 2023.2.0a10, 2023.2.0a17
Not reproducible with: 2022.3.0f1, 2023.1.0b19, 2023.2.0a9
Could not test with: 2021.3.25f1 (errors)
Reproducible on: macOS 13.2.1 (Intel), Windows 11 (user’s)
Note: if the issue is not reproducible, try entering Play mode
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment