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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Add comment