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

Package: Entity Component System (ECS)

-

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

  1. Resolution Note (fix version 1.2.0 - Entities):

    This was fixed in 1.2.0 com.unity.entities.graphics.

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.