Search Issue Tracker
By Design
Votes
0
Found in
2021.3.45f1
2022.3.54f1
6000.0.31f1
6000.1.0a8
Issue ID
UUM-90578
Regression
No
[URP] Decals are not present in the Player when building for WebGL
Reproduction steps:
1. Open the attached “IN-90245” project
2. Build and Run the project
3. Observe the Player output
Expected result: Decals are visible
Actual result: Decals are not visible
Reproducible with: 2021.3.45f, 2022.3.54f1, 6000.0.31f1, 6000.1.0a8
Reproducible on: Windows 10
Not reproducible on: No other environments tested
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
- Compute and graphics queues are not run asynchronously when asynchronous compute shaders are enabled in DX12
- Unity Version Control window during "Create workspace" updates only when the mouse is moved
- Crash on AudioMixer::GetFloat when entering Play Mode in a specific project
- Test assembly files are not generated when using a local package included in a subdirectory
- URP Terrain Shaders are always included when building on any target platform
Resolution Note:
Hello
It looks like you're using the wrong Quality/RP Asset when building for WebGL. The one that is chosen for WebGL is the Mobile_RPAsset, which uses the Mobile_Renderer asset. That Renderer does not have the Decal Renderer Feature enabled.
You will have to add the Decal Renderer Feature to the Mobile Renderer, or change the WebGL build to use the PC_RPAsset under Project Settings -> Quality.