Hersir Posted April 24, 2017 Share Posted April 24, 2017 Hi, does anyone have problems with new playground on mac safari browsers? Every time I click run scene just disappears. Quote Link to comment Share on other sites More sharing options...
Temechon Posted April 24, 2017 Share Posted April 24, 2017 Hi, Thank you for your report. I'll create an issue about it. Quote Link to comment Share on other sites More sharing options...
Hersir Posted April 25, 2017 Author Share Posted April 25, 2017 Ok thanx , link to issue https://github.com/BabylonJS/Babylon.js/issues/2056 Quote Link to comment Share on other sites More sharing options...
Jaskar Posted April 25, 2017 Share Posted April 25, 2017 Hi @Hersir, Can you provide us your MacOS version, Safari version, and a screen, or maybe a console error if you have one? I just tried on my Macbook and the playground works great. Quote Link to comment Share on other sites More sharing options...
Hersir Posted April 25, 2017 Author Share Posted April 25, 2017 @Jaskar Yes , sorry, Mac OS: 10.12.4 Safari: 10.1 Unable to compile effect, Error: ERROR: unsupported shader version, Uniforms: world, view, viewProjection, vEyePosition, vLightsType, vAmbientColor, vDiffuseColor, vSpecularColor, vEmissiveColor, vFogInfos, vFogColor, pointSize, vDiffuseInfos, vAmbientInfos, vOpacityInfos, vReflectionInfos, vEmissiveInfos, vSpecularInfos, vBumpInfos, vLightmapInfos, vRefractionInfos, mBones, vClipPlane, diffuseMatrix, ambientMatrix, opacityMatrix, reflectionMatrix, emissiveMatrix, specularMatrix, bumpMatrix, lightmapMatrix, refractionMatrix, depthValues, diffuseLeftColor, diffuseRightColor, opacityParts, reflectionLeftColor, reflectionRightColor, emissiveLeftColor, emissiveRightColor, refractionLeftColor, refractionRightColor, logarithmicDepthConstant, vLightData0, vLightDiffuse0, vLightSpecular0, vLightDirection0, vLightGround0, lightMatrix0, shadowsInfo0, diffuseSampler, ambientSampler, opacitySampler, reflectionCubeSampler, reflection2DSampler, emissiveSampler, specularSampler, bumpSampler, lightmapSampler, refractionCubeSampler, refraction2DSampler, shadowSampler0 Playground: http://www.babylonjs-playground.com/?2 but even basic scene fails Fails when run is clicked or switch to different scene Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 25, 2017 Share Posted April 25, 2017 Does it work on chrome? Can you use the debug layer to check which version of web is enabled? Quote Link to comment Share on other sites More sharing options...
Hersir Posted April 26, 2017 Author Share Posted April 26, 2017 @Deltakosh Works great in chrome, firefox, opera, just safari is broken. Safari: WebGL v1 - WebGL 1.0 (2.1 INTEL-10.24.45) - Intel Iris Pro OpenGL Engine Chrome, Opera: WebGL v2 - WebGL 2.0 (OpenGL ES 3.0 Chromium) - Intel Iris Pro OpenGL Engine Firefox: Inspector is not scrollable so I can't see version Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 27, 2017 Share Posted April 27, 2017 So it seems to be a Safari bug Does it happen with any kind of scene? even the simplest one? Quote Link to comment Share on other sites More sharing options...
Hersir Posted April 28, 2017 Author Share Posted April 28, 2017 @Deltakosh Yes it happens even with basic scene but as I mentioned it breaks only in playground and on re-run on change scene, initial load is fine Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 28, 2017 Share Posted April 28, 2017 I don't have a mac unfortunately to test. Does anyone else can test? Quote Link to comment Share on other sites More sharing options...
eps Posted April 28, 2017 Share Posted April 28, 2017 I can test - but I've had no problems with the playground. Although I have intentionally kept my OS a few steps back - as the latest ones seem to be quite buggy. i.e. I'm on Safari 10.0.3 El Capitan was a bit of a joke - it brought my Macbook to a grinding halt - thankfully I 'time machined' it before I upgraded.. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 28, 2017 Share Posted April 28, 2017 So this seems to be related to some updates they did recently to Safari Quote Link to comment Share on other sites More sharing options...
eps Posted April 28, 2017 Share Posted April 28, 2017 Maybe... give me a few mins, I'll time machine my Macbook and then upgrade Safari to the same version as Hersir... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 28, 2017 Share Posted April 28, 2017 I appreciate the help! Quote Link to comment Share on other sites More sharing options...
eps Posted April 28, 2017 Share Posted April 28, 2017 I'll try upgrading Safari only first - I may have to upgrade the OS as well... As I'm only on Yosemite which is 10.10.5 As mentioned I started to avoid upgrading my Mac once it became apparent that El Capitan (10.11) was breaking lots of stuff... Quote Link to comment Share on other sites More sharing options...
eps Posted April 28, 2017 Share Posted April 28, 2017 I've 'only' upgraded Safari, not the OS but I get a blank screen - just like Hersir. I've attached a screen grab, showing the errors I now get... I'm going to restore my machine now..! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 28, 2017 Share Posted April 28, 2017 What the heck I cannot fix Safari Jaskar 1 Quote Link to comment Share on other sites More sharing options...
eps Posted April 28, 2017 Share Posted April 28, 2017 Quite. Although as mentioned it does work initially - but as soon as you press Run it then stops working. I've attached a log from the initial time, with it working and then the start of the log once it goes wrong... There's a lot of output once it does go wrong. I guess the question Hersir was raising was why does it work initially and then not work when Run is pressed? Something is different. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 28, 2017 Share Posted April 28, 2017 This is interesting..We are recreating then engine on every run. So perhaps Safari does not like to recreate a gl context on the same canvas? Quote Link to comment Share on other sites More sharing options...
Jaskar Posted May 2, 2017 Share Posted May 2, 2017 @Deltakosh Sorry but I think not. macOS 10.12.3 - Safari 10.0.3 : Create a basic scene, then recreate an engine and another scene : OK macOS 10.12.4 - Safari 10.1 : Same thing : OK In the playground, display well, but when I click on "Run" button I got an error (a lot of errors!!!) about "Unsupported shader version". An idea ? (If you need help tesing, ping me ) Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 3, 2017 Share Posted May 3, 2017 But run is just about creating a new engine right? https://github.com/BabylonJS/Babylon.js/blob/master/Playground/js/index.js#L268 If you run this exact same code in a random page it should crash. Can you confirm? Quote Link to comment Share on other sites More sharing options...
Jaskar Posted May 4, 2017 Share Posted May 4, 2017 @Deltakosh You got it ! It works well with the 2.5 version, but not with the preview release. Same errors than the other posts Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 4, 2017 Share Posted May 4, 2017 can you try without stencil? Thanks a lot Quote Link to comment Share on other sites More sharing options...
Jaskar Posted May 5, 2017 Share Posted May 5, 2017 Same thing. I try with different combinations true/true ; true/false ; false/true and false/false, but same thing each time Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 5, 2017 Share Posted May 5, 2017 and when it works it uses WebGl1 correct? Do you dispose the engine before recreating it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.