Search Unity

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

Discussion in 'Web' started by sushanta1991, Dec 7, 2015.

  1. sushanta1991

    sushanta1991

    Joined:
    Apr 3, 2011
    Posts:
    305
    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...

    webglerror.png

    Screen Shot 2015-12-07 at 4.01.01 pm.png
     
    Last edited: Dec 14, 2015
  2. sushanta1991

    sushanta1991

    Joined:
    Apr 3, 2011
    Posts:
    305
    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:
     
    Last edited: Dec 9, 2015
  3. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    please make a development build, and post the stack trace from that.
     
  4. sushanta1991

    sushanta1991

    Joined:
    Apr 3, 2011
    Posts:
    305
    ok , thanks for reply .
     
  5. sushanta1991

    sushanta1991

    Joined:
    Apr 3, 2011
    Posts:
    305
    Hi @jonas echterhoff 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"


    Screen Shot 2015-12-11 at 11.53.54 am.png Screen Shot 2015-12-11 at 11.54.23 am.png

    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.
     
  6. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
  7. sushanta1991

    sushanta1991

    Joined:
    Apr 3, 2011
    Posts:
    305
    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.
     
    Last edited: Dec 11, 2015
  8. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Yes, i did. I need more coffee:)
     
  9. sushanta1991

    sushanta1991

    Joined:
    Apr 3, 2011
    Posts:
    305
  10. monark

    monark

    Joined:
    May 2, 2008
    Posts:
    1,598
    Did you configure the mimetypes for .jsgz, .memgz and .datagz that looks like the same errors we got until we did that.
     
  11. sushanta1991

    sushanta1991

    Joined:
    Apr 3, 2011
    Posts:
    305
    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
     
  12. monark

    monark

    Joined:
    May 2, 2008
    Posts:
    1,598
    Sorry I just asked our server manager to do it. Hopefully someone else can weigh in.
     
  13. monark

    monark

    Joined:
    May 2, 2008
    Posts:
    1,598
  14. sushanta1991

    sushanta1991

    Joined:
    Apr 3, 2011
    Posts:
    305
    Hi @monark thanks for giving your time, I made changes according to the link that you have given, Hope everything goes well.
     
  15. SergeyB

    SergeyB

    Joined:
    Mar 21, 2014
    Posts:
    3
    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
     
  16. Eugene_Trufanov

    Eugene_Trufanov

    Joined:
    Dec 8, 2014
    Posts:
    5
    I have this problem. Firefox 44.
    In Private Windows application runs without errors.

    Code (CSharp):
    1. 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.
     
  17. xlabrom

    xlabrom

    Joined:
    Apr 21, 2013
    Posts:
    4
    Please tell me, did you manage to understand the cause of this error?
     
  18. Linix

    Linix

    Joined:
    Jul 14, 2012
    Posts:
    4
    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].
     
  19. raskar

    raskar

    Joined:
    Jul 12, 2017
    Posts:
    2

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

    techlabcorps

    Joined:
    Nov 30, 2017
    Posts:
    1
    This "An error occured running the Unity content on this page." occurs when you have a adblocker on.
     
    Naugamonster likes this.
  21. tom1317

    tom1317

    Joined:
    Dec 15, 2017
    Posts:
    2
    I get an error which is the following
    an error occured running the Unity content on this page. See your browser JavaScript console for more info. the error was SecurityError. The operation is insecure.
    The page at https://apps-101769754911177.apps.fbsbx.com


    How do I fix this
     
  22. frelfrel

    frelfrel

    Joined:
    Dec 29, 2017
    Posts:
    1
  23. tom1317

    tom1317

    Joined:
    Dec 15, 2017
    Posts:
    2
    how do I use this fix .
     
  24. bruceericks

    bruceericks

    Joined:
    Sep 8, 2018
    Posts:
    2
    mine is slightly different, it says a Uncaught range error, only happens on a certain facebook casino, others work fine. any simple answers? thanks
    gf.jpg gf.jpg gf2.jpg
     
  25. JJJohan

    JJJohan

    Joined:
    Mar 18, 2016
    Posts:
    214
    "Array buffer allocation failed" implies you're trying to request too much memory up front for the browser to allocate. In your Unity's player settings page, what is your 'Player Size' set at? If it's a 32-bit browser/OS you'd most likely start having difficulties getting more than 1024mb and might even see issues above 512mb if there's multiple browser tabs open. You'll want to try and request as little memory as possible - a lower range of 128mb or 256mb range is often sufficient if it's not an overly complex application.
     
  26. bruceericks

    bruceericks

    Joined:
    Sep 8, 2018
    Posts:
    2
    Hello JJJohan, Thanks for your help. I need some guidance- this is my fathers computer, he has played this casino (Facebook Goldfish) for years and abruptly it quit with the above the errors. Other Facebook casinos are working fine. This a Win7, 32 bit Dell. I have searched for the "player size" file/data. I am told that shift-ctrl-J opens the Unity console. I found no reference there. I can not find a Unity file under C:\Users\YOUR_USERNAME\Local Settings\temp\UnityWebPlayer\log or under Library Logs. I have no clue where the Unity/Player Size file is kept. Can a repair using the Win7 disk fix this? Thanks for your time, Bruce
     
  27. mattisaw

    mattisaw

    Joined:
    May 15, 2019
    Posts:
    2
    i have a problom it wont let me play bullet force.io it says unity is not working
     
  28. mattisaw

    mattisaw

    Joined:
    May 15, 2019
    Posts:
    2
  29. Digypt-DigitalEgypt

    Digypt-DigitalEgypt

    Joined:
    Jun 1, 2021
    Posts:
    5
    I have the same kind of errors, which you can see at...
    http://files.digypt.com/game/HTML5_3/index.html

    An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was:
    abort(182) at jsStackTrace@http://localhost:58171/Build/HTML5_3.framework.js:2:16334
    stackTrace@http://localhost:58171/Build/HTML5_3.framework.js:2:16505
    abort@http://localhost:58171/Build/HTML5_3.framework.js:2:748
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[46158]:0xfb883b
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[24615]:0xbdf7e2
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[41296]:0xee3568
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[41312]:0xee4fa5
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[28457]:0xc669d1
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[45933]:0xfb7b99
    unityFramework/Module.dynCall_iiiii@http://localhost:58171/Build/HTML5_3.framework.js:2:463815
    invoke_iiiii@http://localhost:58171/Build/HTML5_3.framework.js:2:338533
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[44043]:0xf61b60
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[43464]:0xf49ee8
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[4799]:0x1e6f42
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[4797]:0x1e6c12
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[8817]:0x34e716
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[8815]:0x34d637
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[10930]:0x417b14
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[9050]:0x368659
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[11352]:0x446a77
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[11032]:0x421348
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[11032]:0x42135d
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[11027]:0x420ef6
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[11020]:0x41f30f
    @http://localhost:58171/Build/HTML5_3.wasm:wasm-function[45947]:0xfb7dc9
    unityFramework/Module.dynCall_v@http://localhost:58171/Build/HTML5_3.framework.js:2:471528
    browserIterationFunc@http://localhost:58171/Build/HTML5_3.framework.js:2:175423
    runIter@http://localhost:58171/Build/HTML5_3.framework.js:2:178496
    Browser_mainLoop_runner@http://localhost:58171/Build/HTML5_3.framework.js:2:176958
     
  30. fanbouy

    fanbouy

    Joined:
    Sep 29, 2021
    Posts:
    1
    https://www.gamepix.com/play/residence-of-evil

    An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was: RuntimeError: index out of bounds

    Apparently this problem still exist, so it seems it was never dealt with. Or is Unity already dead like Flash ????
     
  31. KamilCSPS

    KamilCSPS

    Joined:
    May 21, 2020
    Posts:
    448
    I see you're a new user, you seem to be lost. This appears to not be an Unity error but a game-specific error. Please refer to the game's dev's website & support forums.
     
  32. sushanta1991

    sushanta1991

    Joined:
    Apr 3, 2011
    Posts:
    305
    Running fine in Microsoft edge, try to clear your cache.
     
  33. archor1206

    archor1206

    Joined:
    Feb 27, 2022
    Posts:
    1
    When I have build to WebGL this error appear
    upload_2022-3-14_15-42-45.png
    Please help
     

    Attached Files: