Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.28f1
2022.3.4f1
6000.0.0b11
6000.1.0a7
6000.2.0a1
7000.0.0a1
Issue ID
UUM-41832
Regression
No
HLSLcc fails to accurately write to out value when writing multiple times in a function for the "WebGL" Platform Player
How to reproduce:
1. Open the “WebGL_Shader_Bug“ project
2. Open the “SampleScene”
3. Enter Play Mode and observe the Game view
4. Switch Platform to “WebGL” (File > Build Settings > Platform > “Switch Platform”)
5. Build And Run (File > Build And Run)
6. Observe the Player
Expected result: “TemperatureShader” is visible on the “Plane” GameObject exactly like in the Game view
Actual result: “TemperatureShader” is not visible on the “Plane” GameObject
Reproduced with: 2021.3.28f1, 2022.3.4f1, 2023.2.0a22
Could not test with: 2023.1.3f1 (“TemperatureShader” throws “'OUTPUT_SH': Too few arguments to a macro call” error → Textures are pink)
Reproduced on: Windows 11
Browser reproduced on: Firefox, Chrome, Edge
Notes:
1. Not reproducible on the “Windows Standalone” Platform
2. Not reproducible when modifying “TemperatureShader” → see internal comment regarding this
3. Reproduced with “Linear” (Edit > Project Settings > Player > Other Settings)
4. Could not test with “Gamma” Color Space → the “Plane” GameObject is rendered with a solid black color
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
- Erratic Mesh panning behavior in Inspector Mesh Preview when panning fully zoomed out
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.
As a workaround, both `out` variables could be declared using `float` type. This fixes the issue.