Search Issue Tracker
Third Party Issue
Votes
0
Found in
6000.0.54f1
6000.1.12f1
6000.2.0b10
Issue ID
UUM-111609
Regression
No
URP/Lit and URP/Simple Lit and shaders based on these do not render in WebGL Player
Reproduction steps:
1. Open the attached “IN-107736.zip” project
2. Go to File > Build Profiles
3. Switch the platform to Web
4. Build and Run the project for WebGL
5. Observe the Player in the browser
Expected result: Everything is rendered correctly with shaders, like in the Editor
Actual result: Majority of the Scene is rendered black/gray and errors are thrown in the Developer Console
Reproducible with: 6000.0.54f1, 6000.1.12f1, 6000.2.0b10
Couldn’t test with: 2022.3.63f1 (Could not downgrade), 6000.3.0a2 (Unfixable Behavior package errors)
Reproducible on: Windows 10 (user reported), Windows 11
Not reproducible on: no other environment tested
Notes:
- Does not reproduce in the Editor or Windows build
- Significant performance drop is also observed in WebGL builds
- Could not reproduce on a new project
- “InvalidOperationException: The LinkedList node already belongs to a LinkedList.” and “ArgumentException: The state of the provided MeshGenerationNode is invalid (entry is null).” errors are visible in the Developer Console
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
- HDRP ShaderGraph Color property gets overridden when it is named "EmissionColor"
- Material properties are lost when setting a parent that hasn't been loaded yet
- NullReferenceException is thrown when creating State from a Selected Clip if that Clip is a Blend Tree
- Built Player with Vulkan Graphics API hangs/freezes when VSync is enabled and "Run In Background" is enabled
- UnityYAMLMerge fails to resolve and overwrites non-YAML files when exiting the fallback merge tool
Resolution Note:
Chrome currently has some WebGL bugs which cause issue with Forward+ rendering with the Additional Lights Cast Shadows option. This is due to a bug in Chrome's GLSL shader compiler on Windows. Google is aware of the issue. For now, it is recomended to use the Forward instead of Forward+ renderer on the URP Renderer settings, or to disable Additional Light Cast Shadows option in the URP pipeline asset settings.