NEW 245181
[Unity] Internal error compiling shader with Metal backend
https://bugs.webkit.org/show_bug.cgi?id=245181
Summary [Unity] Internal error compiling shader with Metal backend
s.sadariya
Reported 2022-09-14 08:00:52 PDT
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.
Attachments
Full Shader File which is failing to compile (142.90 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-09-14 08:00 PDT, s.sadariya
no flags
Shader text from docx (419.50 KB, text/plain)
2022-09-14 10:23 PDT, Kenneth Russell
no flags
Unity Build for isolated testcase (15.47 MB, application/x-zip-compressed)
2022-09-28 09:21 PDT, s.sadariya
no flags
Kenneth Russell
Comment 1 2022-09-14 10:23:06 PDT
Created attachment 462336 [details] Shader text from docx Extracted shader text from original docx attachment
Kenneth Russell
Comment 2 2022-09-14 10:23:49 PDT
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.
s.sadariya
Comment 3 2022-09-19 11:36:42 PDT
I will be soon uploading a self contained test case sorry for late reply
Radar WebKit Bug Importer
Comment 4 2022-09-21 08:01:17 PDT
s.sadariya
Comment 5 2022-09-28 09:21:09 PDT
Created attachment 462684 [details] Unity Build for isolated testcase Isolated Test case I was reliably able to reproduce an issue mentioned above
s.sadariya
Comment 6 2022-09-28 09:24:27 PDT
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.
s.sadariya
Comment 7 2022-10-20 08:21:52 PDT
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.
Note You need to log in before you can comment on or make changes to this bug.