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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
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.