Search Issue Tracker
Fixed in 7000.0.0a12
Fixed in 6000.0.X, 6000.0.27f1, 6000.1.0a4, future release
Votes
0
Found in
6000.0.23f1
Issue ID
UUM-83766
Regression
No
"Unable to add Renderer to the Scene after Culling.“ and “NullReferenceException: Object reference not set to an instance of an object“ errors spawned when changing the light shadow settings in the Player
How to reproduce:
1. Open the “ReproProject“ project
2. Navigate to the “File/Build Profiles“ window
3. Build and Run
4. In the Player using the “WASD“ keys move the Camera horizontally
5. Observe the “Player.log“ and the Player
Expected result: No errors and no screen-tearing artifact
Actual result: “Unable to add Renderer to the Scene after Culling.“ and “NullReferenceException: Object reference not set to an instance of an object“ errors spammed and screen-tearing artifact
Reproducible with: 6000.0.23f1
Could not test with: 2021.3.44f1, 2022.3.50f1 (Could not resolve the Build failing issue)
Reproducible on: macOS 14.6.1 (Intel), Windows 10, Windows 11 (Original Reporter)
Not reproducible on: No other environments tested
Workaround 1: Disable the “light_florescent_office_ceiling_spot_01” and/or “cuffed_overhead_pose_04”
Workaround 2: Comment out lines 67 and 68 in the “LightLodSettings.cs” script
Notes:
- To test the project might need to delete the Library folder otherwise the build fails (only important when un-zipping the project for the first time)
- The Development build instead of the screen tearing artifact will create a complete Player screen blackout artifact
- According to the reporter it does happen in the Editor, but rarely, the CQA was not able to reproduce in the Editor
- More information and full errors in the comments
- A light “LOD” system is present which changes the light shadow settings based on distance, this is creating the issue
- Seems that the issue is coming from the “HDAdditionalLightData.SetShadowUpdateMode” method in the “LightLodSettings.cs” script
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment