Reputation: 2306
i have a question about an WebGL exported unity project. Everything works like expected when I run the site on my local machine. After finish testing I uploaded the site on a server where apache is running. Unfortunately I got the following erros:
Uncaught (in promise) abort({}) at Error
at jsStackTrace (blob:https://unity.my-site.com/d7a78aba-2b94-4a18-92ba-b81d44b2d226:943:12)
at Object.stackTrace (blob:https://unity.my-site.com/d7a78aba-2b94-4a18-92ba-b81d44b2d226:957:11)
at Object.onAbort (https://unity.my-site.com/js/unity/Build/UnityLoader.js:1139:50)
at abort (blob:https://unity.my-site.com/d7a78aba-2b94-4a18-92ba-b81d44b2d226:26837:20)
at blob:https://unity.my-site.com/d7a78aba-2b94-4a18-92ba-b81d44b2d226:1383:5
I guess there is something wrong with the apache configuration but I can't find anything about this. Cause I'm not that familiar with unity and webGl could someone give me an advice what to do here?
Upvotes: 0
Views: 1967
Reputation: 11
Definitely a local web server setting or version issue... I currently use Wampserver 3.1.7 and Unity Unity v2020.2.7 games work fine in Chrome and Edge, but hang at the Unity progress load bar in Firefox. If I upload the same game code to my Go-daddy hosting account, it works fine in all browsers.
I know it's not a "fix" for the localhost/URL issue in Firefox but, for me, I know it will work when published.
Upvotes: 1