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.
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
<rdar://problem/100224259>
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.