I built my project for WebGL with unity5.35.
And got “Release directory”, “TemplateData directory”, “Index.html”.
Double clicking index.html locally to open the game works fine for me.
But after I uploaded these three to the server( a virtual server I rent ),
I tried to open it with FireFox brower, it open the page correctly, but doesn’t load the game.
something like this: http://jackheroes.0343.bftii.com/
That link you posted doesnt work.
Maybe you can first try creating your own local webserver on your local computer and trying it there to work out all the kinks.
One easy server to install (that I use for testing) is WAMP.
Hi, i have a similar error, locally the build work, but when i load it on a server the error is this:
SyntaxError: expected expression, got ‘<’
The link of the build is this:
http://www.maxromagnoli.com/Games/Casino/
I think your server is not configured properly. See the manual for more info.
1 Like
SOLVED!
Thanks to the manual i discovered i have to add a file for my Windows Based server, now all it’s perectly working!
Thanks a lot @Marco-Trivellato !