Search Issue Tracker

In Progress

Fix In Review for 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.