I can’t seem to find the other post solution for what to do if my game is having failed consoles repeating. I looked in the console log and saw that it is because of the ammo file. I have no clue to what I should do to make this problem go away, It’s like the cubemap, Models, scripts and etc. will not load due to this “module=error” problem from the ammo files. does anyone have this problem to ??
Do you get this error also when you run the build directly from PlayCanvas?
As far I understand you try to load an asset that’s not part of the domain where the build is stored (because the asset was not preloaded or something). Loading that asset is blocked by the browser.
Yes I believe it’s due to something called “cross-origin isolated” that’s preventing me from playing the build, I tried to play other Playcanvas games and launch my other project and it seems like that’s the cause because the console log states
“This behavior prevents a document from loading cross-origin resources which don’t explicitly grant permission to be loaded.”
yes i do get this error on all of them and it started this morning, last night i was working on a sign up form for my game and when i woke up to play it , it was showing this error message even for other playcanvas projects in the editor
hey i’ve been busy but i think i founded the problem, i needed to disable the Cross-Origin Embedder Policy (COEP). I have no idea why this is a problem for my device but I believe that’s the problem
NEW UPDATE this morning I ltried to play the official build and it for my device, the launcher is what’s showing this “failed to initialize module=Ammo error=Failed to load script=‘/api/assets/files/ammo.js/ammo.wasm.js?id=189923829&branchId=cee80b01-8d14-449a-ba0b-219bc32ab5aa&t=6b7ab3989e4f9f17c86e44380f9181c6’” message