Search Issue Tracker
Fixed
Fixed in 1.2.0 - Entities
Votes
0
Found in [Package]
1.2.0-pre.12 - Entities
Issue ID
ECSB-1004
Regression
Yes
"NullReferenceException" errors are thrown when lighting is generated with Entities Graphics
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/Endless“ scene
3. Select and enable the “Main_Settings”, “Resources”, “Weapons”, “Player” and “Endless_Tenements“ SubScenes in the Hierarchy window
4. Open the Lighting window (Window > Rendering > Lighting)
5. Click the “Generate Lighting” button in the Lighting window
6. Observe the Console window
Expected result: The lighting is generated and no errors are thrown in the Console window
Actual result: “NullReferenceException” errors are thrown in the Console window
Reproducible with: 1.2.0-pre.12 (2023.3.0b10)
Not reproducible with: 1.2.0-pre.6 (2023.3.0b10)
Couldn’t test with: 1.1.0-pre.3 (2022.3.21f1, 2023.2.14f1, 2023.3.0a19), 1.2.0-pre.6, 1.2.0-pre.12 (2022.3.21f1, 2023.2.14f1) (due to compilation errors)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 1.2.0 - Entities):
This was fixed in 1.2.0 com.unity.entities.graphics.