Search Issue Tracker
By Design
Votes
0
Found in
2022.3.15f1
2023.2.3f1
2023.3.0a17
Issue ID
UUM-58266
Regression
Yes
Custom Shader Material is pink when the project is built for the WebGL platform
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“ scene
3. Enter Play Mode
4. Observe the Game View
5. Build and run the project (File > Build And Run)
6. Observe the Browser window
Expected result: The sphere on the left is red
Actual result: The sphere on the left is pink
Reproducible with: 2022.3.5f1, 2022.3.15f1, 2023.2.3f1, 2023.3.0a17
Not reproducible with: 2021.3.33f1, 2022.3.4f1
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment 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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
By design:
Shader specifies tag "RenderPipeline" = "UniversalRenderPipeline" which is not correct and causes the shader to be not used.
The correct tag should be "RenderPipeline" = "UniversalPipeline"