I am getting this error "an error occured running the unity content on this page"

Here is the full error

an error occured running the unity content on this page. see your browser’s javascript console for more info. the error was: notfounderror: the operation failed because the requested database object count not be found. for example, an object store did not exist but was being opened.

sometime i am getting this error also
an error occured running the unity content on this page. see your browser javascript console for more info. the error was: syntaxerror: missing } in compound statement

sometime this
Error: Uncaught incorrect header check

Could anyone please suggest what could be the reasons behind this error ?

build with version 5.3.0f4

Usually all this happens when internet is slow.

edit
it seems that , when multiple user try at same time than this error is coming, I am not sure about this fact but i tried with 8 user at same time and 2-3 peoples got this error, previously that same users were able to run the game with no errors and this keeps happing with multiple users.

here is the screenshots…

error is coming "An error occured running the Unity content on this page. See your browser’s JavaScript console for more info. The error was:
uncaught exception: TypeError: invalid arguments : jsStackTrace@blob:
stackTrace@blob:
FS.handleFSError@blob:
_mmap@blob:
QD@blob:
TI@blob:
$H@blob:
UJ@blob:
tt@blob:
vmb@blob:
QRc@blob:
callMain@blob:
doRun@blob:
run/<@blob:

please make a development build, and post the stack trace from that.

ok , thanks for reply .

Hi @jonas-echterhoff_1 i tied to test the game with development build but with development build i am unable to get any errors, but every now and than, i keep getting those error i posted above, and in this post.

here are few more errors.
Error: WebGL: Disallowing antialiased backbuffers due to blacklisting. UnityLoader.js:1:4116
TypeError: asm.js type error: Disabled by javascript.options.asmjs in about:config fee8ac26-536c-49be-b742-2dea82062792
Invoking error handler due to
NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened. UnityLoader.js:1:6461
NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.

Here is another one
An error occured running the Unity content on this page. See your browser’s JavaScript console for more info. The error was: Uncaught abort() at Error at jsStackTrace (blob:http%3A//cashcrunchgames.com/c4e77b0e-4c25-4dae-af0d-38087c8a59ad:1:22814) at stackTrace (blob:http%3A//cashcrunchgames.com/c4e77b0e-4c25-4dae-af0d-38087c8a59ad:1:22997) at Object.abort (blob:http%3A//cashcrunchgames.com/c4e77b0e-4c25-4dae-af0d-38087c8a59ad:32:50625) at _abort (blob:http%3A//cashcrunchgames.com/c4e77b0e-4c25-4dae-af0d-38087c8a59ad:1:191835) at Lbm (blob:http%3A//cashcrunchgames.com/c4e77b0e-4c25-4dae-af0d-38087c8a59ad:8:850299) at J9l (blob:http%3A//cashcrunchgames.com/c4e77b0e-4c25-4dae-af0d-38087c8a59ad:8:781926) at FK (blob:http%3A//cashcrunchgames.com/c4e77b0e-4c25-4dae-af0d-38087c8a59ad:22:414129) at bK (blob:http%3A//cashcrunchgames.com/c4e77b0e-4c25-4dae-af0d-38087c8a59ad:22:400668) at Ct (blob:http%3A//cashcrunchgames.com/c4e77b0e-4c25-4dae-af0d-38087c8a59ad:22:83755) at Emb (blob:http%3A//cashcrunchgames.com/c4e77b0e-4c25-4dae-af0d-38087c8a59ad:15:121259) If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

“__*An error occured running the Unity content on this page. See your browser’s JavaScript console for more info. The error was: uncaught exception: TypeError: invalid arguments : jsStackTrace@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:1:22814 stackTrace@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:1:22997 FS.handleFSError@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:1:73163 _mmap@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:1:308416 _om@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:8:1163516 Ylm@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:8:1143374 invoke_iiiiiii@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:1:337648 ZD@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:22:277605 qom@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:8:1158975 invoke_iiii@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:1:362382 aJ@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:22:375648 iI@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:22:359820 bK@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:22:400658 Ct@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:22:83755 Emb@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:15:121259 ZRc@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:21:981323 callMain@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:32:48746 doRun@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:32:49573 run/<@blob:http://cashcrunchgames.com/09219f43-48c2-4c1f-9388-e7582358d880:32:49741*__

strange thing is, lots of errors are coming in windows machine only, maximum time it works on OSX and Ubuntu. Also errors are coming in normal window but if you run the game in private window(incognizant mode) game runs without any errors

I am unable to trace where is the issue coming from. Please help me trace this issue.

if i visit http://www.newspacefiction.com/webgl6/Release/WebGL6.jsgz, it tells me the physical path is:
E:\kunden\homepages\21\d104874082\www\Dunstan\Fiction\webgl6\Compressed\WebGL6.jsgz

that “Compressed” folder makes me wonder if this is actually 5.3 build

hi @Marco-Trivellato i think you replied to wrong thread, that’s not my game.

@Marco-Trivellato please tell me if you find any problem in this game here , most of the erros are coming from windows os.

Yes, i did. I need more coffee:)

Hi @Marco-Trivellato and @jonas-echterhoff_1 , here is the development build link please let me know if you found any bugs.

thanks.

Did you configure the mimetypes for .jsgz, .memgz and .datagz that looks like the same errors we got until we did that.

Hi @monark , thanks for replying.
I tried to add memetypes that you suggested.

please tell me if i have done it in a correct way or not.

AddType application/javascript .datagz .jsgz .memgz

Sorry I just asked our server manager to do it. Hopefully someone else can weigh in.

This may help

1 Like

Hi @monark thanks for giving your time, I made changes according to the link that you have given, Hope everything goes well.

Hello, I have similar error
“An error occured running the Unity content on this page. See your browser’s JavaScript console for more info. The error was: NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened”

UnityLoader.js:1:29721

Unity 5.3 build.
Web Server: IIS 7
.datagz application/octet-stream
.jsgz application/octet-stream
.memgz application/octet-stream

Game works fine on Google Chrome and Mozilla Firefox ver.42 but not working on Mozilla Firefox ver.43

I have this problem. Firefox 44.
In Private Windows application runs without errors.

NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.

Please tell me, did you manage to understand the cause of this error?

I had these problems. The problem was actually nothing to do with unity. It was the mimetypes accepted by the website hosting platform. Basically the file types that the host will allow the clients to download from it.

If you look in the network tab of your browser and see a file with the extension *.memgz" returning with 404. Most likely your web hosting service is blocking that file type from being downloaded. So you need to configure it to allow the file types listed below to be downloaded by the browser.

“.mem” mimeType = text/html
“.data” mimeType = text/html
“.memgz” mimeType = application/octet-stream
“.datag” mimeType = application/octet-stream
“.unity3dgz” mimeType = application/octet-stream
“.jsgz” mimeType = application/x-javascript; charset=UTF-8

With windows you can setup IIS to host the site and change the mime types in there. Or you can configure it in your development solution via the web.config. Either way works.

Remember if you create a website in you IIS you will need to change your hosts file to redirect your custom domain to you local IP. Search changing hosts file in [window os and version]

Your hosts file will look something like this.
127.0.0.1 www.mycustomunitywebsite.com
So from now on you would only need to type in that domain name in your browser and you would see your unity webgl project.

I’m not going to list all the ways of doing this, because there are few depending on you OS type. Search configuring mime-types for [your hosting platform].

Sir, I got the same error
please help me in it.

This “An error occured running the Unity content on this page.” occurs when you have a adblocker on.

1 Like