Search Issue Tracker
Won't Fix
Unknown (hidden) 2020.3.X, 2021.2.X, 2022.1.X, 2022.2.X, 2023.1.X
Votes
0
Found in
2020.3.31f1
2021.2.16f1
2022.1.0b12
2022.2.0a8
2023.1.0a1
Issue ID
UUM-1343
Regression
No
LIGHTMAP_ON keyword is still active when lightmaps are not used
How to reproduce:
1. Open the attached project "LightMapOffR.zip"
2. Open the "Scene" Scene
3. Open the Lighting window (Window > Rendering > Lighting)
4. Press the "Generate Lighting" button in the Scene tab
Expected result: The LIGHTMAP_ON variant is not selected for rendering
Actual result: The GameObjects appear black, indicating that LIGHTMAP_ON is still enabled but no lightmap is being read
Reproducible with: 2020.3.31, 2021.2.16f1, 2022.1.0b12, 2022.2.0a8
Could not test with: 2019.4.37f1 - due to errors in the Console window
Note: The shader is 'sabotaged' in order to make the keyword state more obvious with a color force to blue
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:
After investigation it turned out this issue was down to some shader keywords being baked into some materials, thus the renderer was always selecting them. Multiple attempts were made to reproduce this outcome but it couldn't be done and seems this might have happened during material updates during engine version changes. The customer was informed the best way to fix this was to manually remove the keywords from the material, which they were happy with as a solution.