GlesHelper.mm:339 error 0x0502?

Does anyone recognize this error?

looks like its too many instructions, but its with in 256…

is there an easy way to switch out the shader instead of rebuilding the project

– workaround for those shifting files from windows to mac, when just trying different shaders

just replacing the 2 resources and 2 shared resources files in the data directory of the build works for me

Hi, I’m getting the same error, but I don’t understand what you mean exactly by replacing files in resources and shared resources. Are there files that need to be replaced?

hey,
that’s just what i did to speed up testing variations of my custom shader until it worked. (otherwise i would have had to copy the whole ios build over to my mac ever time i made a change)
my shader code had to many instructions (and unity didn’t give me a warning)
so i had to trim it down a lot to stop this error

i suggest isolating which shader is causing it and then work from there

I see. Thanks for your reply