| Summary: | [Unity] Internal error compiling shader with Metal backend | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | s.sadariya | ||||||||
| Component: | WebGL | Assignee: | Nobody <webkit-unassigned> | ||||||||
| Status: | NEW --- | ||||||||||
| Severity: | Blocker | CC: | dino, kbr, kkinnunen, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | Safari 15 | ||||||||||
| Hardware: | Mac (Intel) | ||||||||||
| OS: | macOS 12 | ||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=237658 | ||||||||||
| Attachments: |
|
||||||||||
Created attachment 462336 [details]
Shader text from docx
Extracted shader text from original docx attachment
Submitter: we don't have a way to translate this shader into something executable in WebGL so I doubt we'll be able to triage your report. A self-contained test case is needed. I will be soon uploading a self contained test case sorry for late reply Created attachment 462684 [details]
Unity Build for isolated testcase
Isolated Test case
I was reliably able to reproduce an issue mentioned above
Please go to https://play.unity.com/mg/other/testcasebuild to test a build I tested on safari 15.4 on mac os 12.6 and got the error ------- GLSL link error: Internal error compiling shader with Metal backend. Hello ! I have Uploaded new build to https://play.unity.com/mg/other/testcasebuild Please let me know if you need anything else from my side. |
Created attachment 462335 [details] Full Shader File which is failing to compile Shader in unity webgl build is failing to compile and object becomes invisible in game i found few resources with solution of replacing all ternary operators with if else it worked and mesh/object was visible again but shader was still giving console error.