Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4.0f1
2018.4.8f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1183467
Regression
No
[OpenGL ES 2.0][WebGL 1.0] GLSL Integer binary arithmetic emulation (op_and()) is incorrect for negative inputs
How to reproduce:
1. Open the attached project ("case_1183467-UnityOutlineShader-skeleton_-_U2018.4.zip")
2. Open the repro scene ("Main")
3. Enter Play Mode
4. Press the "Outline" button and see how the objects are outlined
5. Exit Play Mode and make a WebGL build and run it
6. Click the "Outline" button
Expected results: The objects are outlined the same way as in the Editor
Actual results: Objects are not outlined and the entire scene turns black
Reproducible with: 2018.4.10f1, 2019.2.8f1, 2019.3.0b5, 2020.1.0a7
Couldn't test with 2017.4 (Project breaking after downgrade)
Notes:
1. The issue only reproduces on Safari browser
2. Since Safari for Windows has dropped WebGL support a long time ago, it is only possible to reproduce it on Mac
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:
Very few users affected, original user received satisfiable workaround, modern WebGL 2 does not have the issue.