Unity 5.3.4f1 WebGL builds no longer works on Mac OSX... anyone have any ideas?
I delayed updating from earlier build of Unity 5 because I was working on a painstaking WebGL conversion from Web Player while writing new features for a medical simulator. All of a sudden my WebGL builds no longer work. Not the new ones, developer or build versions, nor my backups from previous versions of the simulator. So I updates to Unity 5.3.4f1. No changes. WebGL is completely dis-functional. Any help would be appreciated.
FireFox errors: Error: WebGL: Error during native OpenGL init. UnityLoader.js:28:14 Error: WebGL: WebGL creation failed. UnityLoader.js:28:14 Error: WebGL: Error during native OpenGL init. UnityLoader.js:31:12 Error: WebGL: WebGL creation failed. UnityLoader.js:31:12 Successfully compiled asm.js code (loaded from cache in 1002ms) 8e832897-7f56-7042-afe4-b16b12ca4dea run() called, but dependencies remain, so not running UnityLoader.js:145:2 Module.printErr() UnityLoader.js:145 run() 8e832897-7f56-7042-afe4-b16b12ca4dea:2363237 8e832897-7f56-7042-afe4-b16b12ca4dea:2363329
loading Advanced Ultrasound PIV WebGL.data from cache UnityLoader.js:3666:17 pre-main prep time: 495 ms UnityLoader.js:145:2 Module.printErr() UnityLoader.js:145 doRun() 8e832897-7f56-7042-afe4-b16b12ca4dea:2363250 run/<() 8e832897-7f56-7042-afe4-b16b12ca4dea:2363262
PlayerConnection initialized from (debug = 0) UnityLoader.js:141:3 PlayerConnection disabled - listening mode not supported UnityLoader.js:141:3 Initialize engine version: 5.3.4f1 (fdbb5133b820) UnityLoader.js:141:3 NullGfxDevice: UnityLoader.js:141:3 Version: NULL 1.0 [1.0] UnityLoader.js:141:3 Renderer: Null Device UnityLoader.js:141:3 Vendor: Unity Technologies UnityLoader.js:141:3 UnloadTime: 0.840000 ms UnityLoader.js:141:3 Error: WebGL: Error during native OpenGL init. 8e832897-7f56-7042-afe4-b16b12ca4dea:6949:13 Error: WebGL: WebGL creation failed. 8e832897-7f56-7042-afe4-b16b12ca4dea:6949:13 Error: WebGL: Error during native OpenGL init. 8e832897-7f56-7042-afe4-b16b12ca4dea:6953:15 Error: WebGL: WebGL creation failed. 8e832897-7f56-7042-afe4-b16b12ca4dea:6953:15 Error: WebGL: Error during native OpenGL init. 8e832897-7f56-7042-afe4-b16b12ca4dea:6955:12 Error: WebGL: WebGL creation failed.
Chrome Errors: UnityLoader.js:294 XMLHttpRequest cannot load file:///Users/brianpeck/Documents/Uinity3dFreeProjects/Ultrasound%20PIV%20W…ltrasound%20PIV%20WebGL/Development/Advanced%20Ultrasound%20PIV%20WebGL.js. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.LoadCompressedFile @ UnityLoader.js:294 UnityLoader.js:238 XMLHttpRequest cannot load file:///Users/brianpeck/Documents/Uinity3dFreeProjects/Ultrasound%20PIV%20W…rasound%20PIV%20WebGL/Development/Advanced%20Ultrasound%20PIV%20WebGL.jsgz. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.DecompressAndLoadFile @ UnityLoader.js:238 UnityLoader.js:294 XMLHttpRequest cannot load file:///Users/brianpeck/Documents/Uinity3dFreeProjects/Ultrasound%20PIV%20W…trasound%20PIV%20WebGL/Development/Advanced%20Ultrasound%20PIV%20WebGL.mem. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.LoadCompressedFile @ UnityLoader.js:294 UnityLoader.js:238 XMLHttpRequest cannot load file:///Users/brianpeck/Documents/Uinity3dFreeProjects/Ultrasound%20PIV%20W…asound%20PIV%20WebGL/Development/Advanced%20Ultrasound%20PIV%20WebGL.memgz. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.DecompressAndLoadFile @ UnityLoader.js:238
All these errors seem to be deriving from UnityLoader.js...
UPDATE: I moved the WebGL build via DropBox to my Windows computer which had Firefox version 44.0.2 on it. I tested the WebGL build before it auto updated to Firefox version. It worked on both Firefox 44.0.2 and firefox 45.0.2!!! It seems that this is a $$anonymous$$ac OSX issue. I'm running Yosemite 10.10.5 with an Intel HD Graphics 3000 512 $$anonymous$$B. I've never had any issues with WebGL builds until now. Any $$anonymous$$ac Users have ideas about this error?
UPDATE 2: Loaded WebGL build to GoDaddy server. Firefox results...
Firefox: Windows The first time I loaded it it gave me an uncaught exception that there wasn't enough memory available. So I rebuilt (changed build size from 1024 to 512 in player settings) New uncaught exception incorrect header check. The source listed is UnityLoader.js:84:9. $$anonymous$$ac OSX Errors are now as follows: $$anonymous$$ pseudo-class or pseudo-element 'selection'. Ruleset ignored due to bad selector. style.css:8:2 $$anonymous$$ property '-moz-box-shadow'. Declaration dropped. style.css:23:132 Error: WebGL: Error during native OpenGL init. UnityLoader.js:28:14 Error: WebGL: WebGL creation failed. UnityLoader.js:28:14 Error: WebGL: Error during native OpenGL init. UnityLoader.js:31:12 Error: WebGL: WebGL creation failed. UnityLoader.js:31:12 The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page. TypeError: asm.js type error: Disabled by debugger 1cea2895-87bb-c141-ba8f-2bff2bd1e815 The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page. GET XHR http://www.brianchristopherpeck.com/TEST/UNITYBETAWEBGL/Advanced%20Ultrasound%20PIV%20WebGL/Development/Advanced%20Ultrasound%20PIV%20WebGL.data [HTTP/1.1 200 O$$anonymous$$ 11464ms] Error: WebGL: Error during native OpenGL init. 1cea2895-87bb-c141-ba8f-2bff2bd1e815:6949:13 Error: WebGL: WebGL creation failed. 1cea2895-87bb-c141-ba8f-2bff2bd1e815:6949:13 Error: WebGL: Error during native OpenGL init. 1cea2895-87bb-c141-ba8f-2bff2bd1e815:6953:15 Error: WebGL: WebGL creation failed. 1cea2895-87bb-c141-ba8f-2bff2bd1e815:6953:15 Error: WebGL: Error during native OpenGL init. 1cea2895-87bb-c141-ba8f-2bff2bd1e815:6955:12 Error: WebGL: WebGL creation failed.
@Picc_Excellence Did you end up solving this? I'm having the same issue.
Answer by Picc_Excellence · Apr 18, 2016 at 07:14 AM
UPDATE 2: Loaded WebGL build to server Chrome results ... Windows Had warnings but loaded and worked all the way through. Mac JS console: UnityLoader.js:185 optimizing out Math.fround calls UnityLoader.js:145 run() called, but dependencies remain, so not runningModule.printErr @ UnityLoader.js:145run @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:2363157(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:2363249 blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:55 MediaStreamTrack.getSources is deprecated. See https://www.chromestatus.com/feature/4765305641369600 for more details. UnityLoader.js:3669 loading Advanced Ultrasound PIV WebGL.data from remote UnityLoader.js:145 still waiting on run dependencies:Module.printErr @ UnityLoader.js:145(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:1332 UnityLoader.js:145 dependency: fp /data.unity3dModule.printErr @ UnityLoader.js:145(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:1334 UnityLoader.js:145 dependency: fp /methods_pointedto_by_uievents.xmlModule.printErr @ UnityLoader.js:145(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:1334 UnityLoader.js:145 dependency: fp /preserved_derived_types.xmlModule.printErr @ UnityLoader.js:145(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:1334 UnityLoader.js:145 dependency: fp /Il2CppData/Metadata/global-metadata.datModule.printErr @ UnityLoader.js:145(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:1334 UnityLoader.js:145 dependency: fp /Resources/unity_default_resourcesModule.printErr @ UnityLoader.js:145(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:1334 UnityLoader.js:145 dependency: fp /Managed/mono/2.0/machine.configModule.printErr @ UnityLoader.js:145(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:1334 UnityLoader.js:145 dependency: datafile_Advanced Ultrasound PIV WebGL.dataModule.printErr @ UnityLoader.js:145(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:1334 UnityLoader.js:145 (end of list)Module.printErr @ UnityLoader.js:145(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:1337 UnityLoader.js:145 pre-main prep time: 10148 msModule.printErr @ UnityLoader.js:145doRun @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:2363170(anonymous function) @ blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:2363182 blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:5942
The devicemotion event is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details. blob:http%3A//www.brianchristopherpeck.com/126d5fc5-1da5-413f-8f01-30f68a12780a:5942 The deviceorientation event is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details. UnityLoader.js:141 PlayerConnection initialized from (debug = 0) UnityLoader.js:141 PlayerConnection disabled - listening mode not supported UnityLoader.js:141 Initialize engine version: 5.3.4f1 (fdbb5133b820) UnityLoader.js:141 NullGfxDevice: UnityLoader.js:141 Version: NULL 1.0 [1.0] UnityLoader.js:141 Renderer: Null Device UnityLoader.js:141 Vendor: Unity Technologies UnityLoader.js:141 UnloadTime: 39.755000 ms
Your answer
Follow this Question
Related Questions
WebGL Build don't work 0 Answers
WebGL Shader compile issues 1 Answer
how to disable Chrome WebGL "press escape key to show cursor"? 0 Answers
WebGL Build Crashes on Firefox only After the Loading and Splash Screen Phases. 0 Answers
WebGL Build error abort(117) at jsStackTrace (WebGL.js:1:19540) 0 Answers