Works in editor but build fails

Hi there,

I’m experimenting with porting an app from Windows to Mac. It works fine in the editor, but when I create a build, nothing is built, and the log has errors. There are a couple things I see in the log file and I’m not sure what I should be following up on:

I get a bunch of errors that look like
program_source:90:38: error: expected expression
u_xlatu2.x = as_type(half2(, 0.0));

and it finally dies with the message
Metal: Failed to create compute library

I was wondering if someone would have advice on where to start looking for things that would make a build not work when the editor is working.

This is with 2017.3, in case anything along these lines has been addressed in 2018.

thanks much!

Try turning off Metal.

Also, are you building on a Mac, or building under Windows? (I think it should work either way; I’m just curious.)

Thanks much! It’s not building but now we’re getting sensible errors about shaders.