filmov
tv
How to Run and Play a Unity WebGL Build Locally (Simple)
Показать описание
How to Run and Play a Unity WebGL Build Locally (Simple)
Greetings, today I am here with a quick and simple Unity tutorial. We are going to look at how to Run and Play a Unity WebGL build locally.
So, you have built your Unity game. It is a WebGL one, but you want to test it for platform specific bugs and see how it runs in a web browser. You can hit play and run, but that would mean you would have to build the game each time you want to playtest.
You double click your index html file, the game doesn't load. You could upoload your Unity WebGL build to itchio or Github. That takes time.
This solution is super simple! it takes less than a minute and I use this at my day job for when I need to quickly test something during its early stages.
This will host a Python server on your machine. This server will run your game when someone joins it. You can then try out your game by opening a web browser and typing "localhost:8000/".
Now you can play your webgl game. Please note this is a locally hosted server so others can't connect to it. If you want your friends to try your game, you could send them the webgl build and this tutorial or you could host the game on a website like Github or itchio.
Thanks for watching this quick tutorial on how to Run and Play a Unity WebGL Build locally.
How to Run and Play a Unity WebGL Build Locally (Simple)
Greetings, today I am here with a quick and simple Unity tutorial. We are going to look at how to Run and Play a Unity WebGL build locally.
So, you have built your Unity game. It is a WebGL one, but you want to test it for platform specific bugs and see how it runs in a web browser. You can hit play and run, but that would mean you would have to build the game each time you want to playtest.
You double click your index html file, the game doesn't load. You could upoload your Unity WebGL build to itchio or Github. That takes time.
This solution is super simple! it takes less than a minute and I use this at my day job for when I need to quickly test something during its early stages.
This will host a Python server on your machine. This server will run your game when someone joins it. You can then try out your game by opening a web browser and typing "localhost:8000/".
Now you can play your webgl game. Please note this is a locally hosted server so others can't connect to it. If you want your friends to try your game, you could send them the webgl build and this tutorial or you could host the game on a website like Github or itchio.
Thanks for watching this quick tutorial on how to Run and Play a Unity WebGL Build locally.
How to Run and Play a Unity WebGL Build Locally (Simple)
Комментарии