I’m building a WebGL version of my game and it falls to render on Safari 11 while it runs fine on Chrome a Firefox.
Looking at the console log I see 3 errors:
[Error] WebGL: INVALID_OPERATION: texImage2D: type HALF_FLOAT_OES but ArrayBufferView is not NULL
[Error] WebGL: INVALID_OPERATION: texImage2D: type HALF_FLOAT_OES but ArrayBufferView is not NULL
[Error] WebGL: ERROR: 0:53: '[]' : Index expression must be constant
I’m running Unity 2017.3.0b6 and building for WebGL 1.0
Yeah, they’ve shown up with the safari update. we took a quick look but so far they seem to not be having a major impact. Will get to them in the future of course.
This problem still remains in Unity 2017.3.0.b11. In the issue tracker it states fixed in Unity 2017.3 . Does it mean it is only available when final 2017.3?
We just found this issue w/ a WebGL test on iOS - we’ll keep an eye out for the release next week and report back.
(Yes, I know iOS WebGL is not officially supported, but several Unity devs have stated that everything should work & the main issue is memory availability & backwards compatibility w/ hardware, neither of which are an issue for our project)
Hey, we’ve had a similar problem with Safari using post processing. With post processing off everything displays fine, but with it turned on we just get a black screen. UI still appears fine.
I just wanted to check if the fix you’re mentioning will allow post processing to run on Safari, or if this is another, unrelated issue?
BUT not all effects of the new Post-Processing stack are supported by WebGL, and especially not by browsers that don’t support WebGL 2.0 yet like Safari.