So I have paid for server hosting for my personal project and I wanted to add interactable app (made with unity WebGL) and as I never did WebGL outside of Itch.io and I am noob in terms of technical website stuff I tested every small change…
I started on 2022 something version of unity and got working full-windowed-screen with the minimal web template (by editing the index html file) and js code that tells the Unity app the full url where it reads the parameters (the things after the ?). So this all worked both on mobile and pc.
So after that I, obviously, wanted the splash screen gone, so I downloaded the V6 preview and the project updated and compiled without any errors. But after I uploaded it onto the public_html on my server I was greeted with black screen. So I went and in chronological order removed everything after there wasn’t any scripts, only blank page with TMPro text. And nothing.
So I set the template to the basic (because the minimal doesn’t show error/warning messages) and I got this(but as a popup window):
abort({}) at Error
at jsStackTrace (https://example.net/Build /Interact.framework.js:10:21611)
at stackTrace (https://example.net/Build /Interact.framework.js:10:21874)
at abort (https://example.net/Build/Interact .framework.js:10:992)
at https://example.net/Build/Interact .framework.js:10:19231
But I went and tested this on Itch.io and it worked… So my first thought was something is wrong with the server settings? But it worked on the previous version and the message links to a random (to me) part of the code that I didn’t touch as it was generated by the unity itself.
As I stated I am beginner in the server/html/js stuff but I have no idea where to even start looking to fix this… If anyone knows If it’s a Unity error(because it is preview ) or something wrong with the server?
Thanks.
Logiis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.