WebGL crashing every browser?

Hi!

I tried to make a web build of my game, this is the first time since 5.5

I don’t think I’ve changed any settings whatsoever, but the build hangs up on every single browser.

I would appreciate it if someone could point me in the right direction towards figuring out what’s wrong.

Here is the browser’s debug:

Error loading this URL: Could not load the source for blob:null/9a92383f-5642-4f6c-947a-2587d7883ba9.
[Exception... "Failed to open input source 'file:///9a92383f-5642-4f6c-947a-2587d7883ba9'"  nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)"  location: "JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js :: mainThreadFetch :: line 500"  data: yes]
Stack: mainThreadFetch@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js:500:5
SourceActor<._getSourceText/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/source.js:380:29
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816:7
this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:750:11
EventLoop.prototype.enter@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:348:5
ThreadActor<._pushThreadPause@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:531:5
ThreadActor<._pauseAndRespond@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:739:7
ThreadActor<._makeSteppingHooks/steppingHookState.pauseAndRespond@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:868:16
ThreadActor<._makeOnStep/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:801:16
_emscripten_get_now@blob:null/9a92383f-5642-4f6c-947a-2587d7883ba9:14180:3
__ZN27TimeSliceAwakeFromLoadQueue19IntegrateTimeSlicedEi@blob:null/0e6ef60c-9446-49fb-89d4-31938629e4df:927010:1
__ZN18LoadSceneOperation19IntegrateTimeSlicedEi@blob:null/0e6ef60c-9446-49fb-89d4-31938629e4df:2546348:1
__ZN14PreloadManager26UpdatePreloadingSingleStepENS_21UpdatePreloadingFlagsEi@blob:null/0e6ef60c-9446-49fb-89d4-31938629e4df:1207320:1
__ZN14PreloadManager35WaitForAllAsyncOperationsToCompleteEv@blob:null/0e6ef60c-9446-49fb-89d4-31938629e4df:2272619:1
__ZN19RuntimeSceneManager9LoadSceneERK8UnityStrS2_S2_RK9UnityGUIDiNS_11LoadingModeE@blob:null/0e6ef60c-9446-49fb-89d4-31938629e4df:2319945:1
__Z21PlayerStartFirstSceneb@blob:null/0e6ef60c-9446-49fb-89d4-31938629e4df:912736:1
__Z20PlayerLoadFirstSceneb@blob:null/0e6ef60c-9446-49fb-89d4-31938629e4df:2181065:1
_main@blob:null/0e6ef60c-9446-49fb-89d4-31938629e4df:886431:1
asm._main@blob:null/9a92383f-5642-4f6c-947a-2587d7883ba9:18585:9
callMain@blob:null/9a92383f-5642-4f6c-947a-2587d7883ba9:19857:13
doRun@blob:null/9a92383f-5642-4f6c-947a-2587d7883ba9:19894:40
run/<@blob:null/9a92383f-5642-4f6c-947a-2587d7883ba9:19903:4
Line: 500, column: 0

Is what you get after Build&Run?

Hey!

I’ve built the web build and i’ve tried to play it in firefox (local) chrome (itch.io embed) firefox (itch.io embed).
The error dump is from the debug window of firefox(local).
As i’ve said, i did not change anything about the graphics quality or related settings since the 5.5 update, but i’m fairly sure that it is what broke my web build.

could you please submit a bug report with a repro project?

I updated to 5.5.0p3 and it seems to build now, although my main shaderforge tilemap shader is completely invisible, but i’m not getting any error messages about it on build.

Well, never mind. Still getting the error.
I can’t comply with your request, since i don’t know what the error is. I can’t find a way to tell what the build’s problem is, and my project is pretty huge, so i don’t think it’s feasible to upload it.

Error loading this URL: Could not load the source for blob:null/2177385e-1537-497e-9b89-246b931cb96b.
[Exception... "Failed to open input source 'file:///2177385e-1537-497e-9b89-246b931cb96b'"  nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)"  location: "JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js :: mainThreadFetch :: line 500"  data: yes]
Stack: mainThreadFetch@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js:500:5
SourceActor<._getSourceText/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/source.js:380:29
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816:7
this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:750:11
EventLoop.prototype.enter@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:348:5
ThreadActor<._pushThreadPause@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:531:5
ThreadActor<._pauseAndRespond@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:739:7
ThreadActor<._makeSteppingHooks/steppingHookState.pauseAndRespond@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:868:16
ThreadActor<._makeOnStep/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/script.js:801:16
_emscripten_get_now@blob:null/2177385e-1537-497e-9b89-246b931cb96b:1:315677
hGa@blob:null/b5b6aa50-c9df-428d-b113-db5cf1ffbebc:17:1
hDa@blob:null/b5b6aa50-c9df-428d-b113-db5cf1ffbebc:17:1
MBa@blob:null/b5b6aa50-c9df-428d-b113-db5cf1ffbebc:17:1
LBa@blob:null/b5b6aa50-c9df-428d-b113-db5cf1ffbebc:17:1
JBa@blob:null/b5b6aa50-c9df-428d-b113-db5cf1ffbebc:17:1
GBa@blob:null/b5b6aa50-c9df-428d-b113-db5cf1ffbebc:17:1
oqa@blob:null/b5b6aa50-c9df-428d-b113-db5cf1ffbebc:17:1
bqa@blob:null/b5b6aa50-c9df-428d-b113-db5cf1ffbebc:17:1
callMain@blob:null/2177385e-1537-497e-9b89-246b931cb96b:3:33222
doRun@blob:null/2177385e-1537-497e-9b89-246b931cb96b:3:33925
run/<@blob:null/2177385e-1537-497e-9b89-246b931cb96b:3:34093
Line: 500, column: 0

Without any other info there is not much we can do at this time.

Perhaps if you could submit a bug report with a link to the build we could reproduce it on our side. Or attach the webgl build to the bug report.

Are you extracting the compressed files in your /Release folder? Try uncompressing the files in your /Release folder, see if that causes the error to go away (it did for me).

I’ve got the exact same problem with 5.5.0p3, and decompressing doesn’t seem to help. I’ll file a bug report with the latest WebGL build on it.

once submitted, please post the bug number here, thanks!

Oh, right - it’s case 872076. Thanks for your help!

1 Like

Had the exact same error with a mostly empty project. No code, simply a few canvas elements in the scene, nothing else, and I get that same error.

Looking at the generated build, it seems something is wrong with one of your scripts:
“The referenced script on this Behaviour (Game Object ‘Character’) is missing!”

I suggest you fix that.

We still don’t have a bug report that includes a Unity project. If you have one, please submit it.