Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.3.4p2
Issue ID
788012
Regression
No
[Metal][OSX] Shader that works on iOS Metal and GLCORE crashes OSX Metal compiler
To Reproduce:
1. Build and run the attached project on OSX with Metal.
2. Observe that when the scene is loaded the app freezes, with the printed in player.log:
"
Compilation failed:
<program source>:82:12: error: array type 'float4 [2]' is not assignable
tmpvar_1 = tmpvar_18;
~~~~~~~~ ^
<program source>:83:12: error: array type 'float4 [2]' is not assignable
tmpvar_2 = tmpvar_19;
~~~~~~~~ ^
"
and
"
"Metal: Error creating pipeline state: Compiler encountered an internal error
(null)
Receiving unhandled NULL exception
Obtained 12 stack frames.
"
3. The scene test only has the 'Diffuse_Vegetation' shader.
The same shader works fine on iOS Metal and with GLCORE on OSX.
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
Add comment