How to run unity game on browser? - unity3d

I have made a game with unity and I would like to share it with my friends but not sure can they play it on browser, is it even possible?

Yes, Build your game as WebGL. File->Build Settings-> Select WebGL then click the Build button. It will be build the project for web. Now you can host the file in your server and the game is now accessible to others.

Related

Running other Unity executables on runtime

I am trying to make CV/portfolio-ish game with WebGL build and I want to show people my previous games.
I wonder if there is anyway to run my previous games exes on WebGL at runtime. Like game inside game but I don't want to move all of the assets, codes etc. Opening extra web page with WebGL is an option but I want to try my question first.
Thanks.

How can I Build a Unity3d Project to Run on a Web Page?

Before it was possible to build Unity3d projects to a unity web player, but today browsers no longer support it. Is there any other way to do this?
Use a WebGL build target, it generates a html that embeds the player

Testing on a gearVR

I am building my first VR game for the Gear VR(Since I got it for free). The question I have is there a way I can plug in the GearVR and run it on unity that way I can see what is going on in the game, while the game is being played? Currently the way I am testing my game is by building it, transferring it to my phone, installing it, then testing it. Which is very tedious. Here is my setup in case it helps:
unity 5.5
Android Studio
Oculus Mobile SDK
Unity should be able to load the code and profile it without you manually installing. If you follow the instructions from oculus all you need to do is check the box for "Development Build" and "Autoconnect profiler"
You also may want to enable Developer Mode on the phone so the app can be run without it being in the vr headset.

How do I make a browser game with unity?

Do I need Unity 3D? Once I make a game with unity 3d how do I 'port' it to the web instead of having it as a download? Can I do it with C#?
First you need to install a plugin from Unity called unity web player.
Then export your game to the web format, i think it is the first option in the build menu.
You upload it to your server and just play.

Play unity web game without downloading unity web player

I'm hosting a Unity Web Game with my Google Drive and would like to share it with my friends. I tried to launch it on a different PC and instead of the game launching, a message told me to download Unity Web Player. Is there a way in which I can bundle the player with my game? Is there a way in which I can host the player with my game? Is there a way in which I can let users play my game without them downloading or installing anything?
Unity 5 added support for building WebGL apps which essentially convert all code to javascript and can be used without the need to explicitly download Unity webplayer by the user.
you can find more about this on this link