Search Issue Tracker
Won't Fix
Won't Fix in 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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.
Resolution Note (2023.1.X):
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.