I’ve finished to create with code tutorial and looked how to upload games to the web for others to play. I’ve used the web like it tells you but when it finishes it says it can’t be loaded on Microsoft edge as it uses http formats which my Microsoft edge doesn’t support. In the tutorial they use Microsoft edge to run the game. Is there anything I can do to make it work?
Usually you’d either use an existing game publishing platform like itch.io, or self host on some web space you rent. For a publishing platform, you follow the platform’s instructions for uploading. For self hosting, I believe you just copy the resulting folder over to your web host.
For testing purposes you could install a web server on your own computer, or on a virtual machine. You copy the webgl build there. But other people won’t necessarily have a way to access it there, just you. This is because for security reasons most web browsers today don’t like to run certain kinds of content off a user’s local file system, that kind of access can be exploited.
For the tutorials specifically though, I believe Unity has a publishing feature built in which requires you to add a webgl publishing package. I haven’t run any of them, but that’s what I’ve seen discussed. It should be explained somewhere in the tutorial though.