Search Issue Tracker
By Design
Votes
0
Found in [Package]
10.2.0
Issue ID
1297323
Regression
No
[ShaderGraph] Lightmap texels are improperly invalidated when using custom Shader Graph materials
Steps to reproduce:
1. Download and open the attached project
2. Open GITest scene
3. Navigate to the Lighting window and click on Generate Lighting
4. Notice, how black shadows are bleeding underneath the blocks using custom ShaderGraph materials
Notes:
- Affects both CPU and GPU PLM
- URP lit shader is not affected
- Use the Texel Validity view to verify the issue
Doc ticket: https://unity3d.atlassian.net/browse/DOC-2828
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
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Resolution Note:
The difference in lightmap baking in this case is due to the Shader Graph having alpha clipping enabled, but the standard Lit material having it disabled. Starting in Unity 2021.2 there is an "allow material override" option on the Shader Graph to make it easier to switch this from the Material inspector rather than the Graph inspector. Prior versions would need to have it switched on the Shader Graph directly.