Lesson 6.3 - Sharing your Projects

Exercise

Beginner

+10XP

30m

Unity Technologies

Lesson 6.3 - Sharing your Projects

Overview:

In this lesson, you will learn how to build your projects so that they’re playable outside of the Unity interface. First, you will install the necessary export modules to be able to publish your projects. After that, you will build your project as a standalone app to be played on Mac or PC computers. Finally, you will export your project for WebGL and even upload it to a game sharing site so that you can send it to your friends and family.

Project Outcome:

Your project will be exported and playable as a standalone app on Mac/PC or for embedding online.

Languages available:

1. Install export Modules

Before we can export our projects, we need to add the “Export Modules” that will allow us to export for particular platforms:

1. Open Unity Hub and navigate to the Installs Tab

2. On the Unity version you’ve been using in the course, select the gear icon, then select Add Modules.

3. Select Web Build Support, and either Mac or Windows build support, then click Done and wait for the installation to complete.

2. Build and publish your game

Now that we have the export modules installed, we can put them to use and export one of our projects:

1. Open the project you would like to build (could be a prototype or your personal project)

2. In Unity, click File > Build Profiles, then click Select Windows, macOS or Web as your target platform, then select Switch Platform. If a window pop up that say the Unity Editor needs to be restarted select Apply.

3. Select Open Scene List.

4. Select Add Open Scenes to add the current scene to the build.

5. Select Player Settings and adjust any settings you want, such as Windowed, Resizable Window, or whether to enable the Display Resolution Dialog.
For more information, refer to the documentation on configuring Player Settings

6. Select Build or Build and Run. Enter a name for the build, then save it in a new folder named Builds inside your Create with Code folder.

7. Play your game to test it. If needed, rebuild it with different settings.

Note: For detailed instructions on building and publishing a Web project to Unity Play, see the Build and publish a project tutorial.

Optional step

3. Share your project

If you feel proud of the project you made and you want to share it, you can share screenshots of the game or upload a link so other learners can experience what you’ve made. You can also check out other Unity learners’ submissions below.

1. If you uploaded your game to Unity Play, locate the Unity Play link for your published project.


2. If you have not published your project, capture screenshots or recordings of your project from the Editor.

3. Add a submission title and description below. Be sure to include the screenshots and video recording. If you have a Unity Play link or any additional details about your process or project, you can include them in the description as well.

Please login to submit

4. Lesson Recap

New Concepts and Skills

  • Installing export modules
  • Building for Mac/PC
  • Building for WebGL/HTML

Complete this Tutorial

Submission Gallery

Prototype 1

Prototype 1

Updated version

J
jwi87831
6
0
Junior Programmer Final Project

Junior Programmer Final Project

I wanted to post this as WebGL build, but got some misinformation about building for web, but due to scene size I'm getting severe input lag at points in the game. So I've been in the process of heavy optimization. I'm posting a video for now of the unoptimized scene. I'd like to get this working on WebGL, I'm close, but have to redo the buildings and textures again to accommodate VRAM allocation. This was finished 3 months ago, but I had been fixing poorly made meshes, cutting poly counts and atlasing textures. atlasing for WebGL TANKED my performance. Part of the reason I'm redoing assets again. I believe I can get this playable on WebGL. Im hoping to get that done in the next 2 months. I have to make some changes for PC/Mac builds as well. If anyone is interested I can upload a PC or Mac build to GitHub. The project ended up getting a little larger in scope than the intial outline. But the features I added, I believe, added to the over all fun. Worth the extra time. I still need to do audio and lighting.

P
phaelam
6
0
Jack Jump

Jack Jump

Jump over hurdles without colliding with them. Time your jumps carefully, avoid every obstacle, and keep moving forward to survive as long as possible.

U
unity_EF5FDB35B784DA373300
4
0
Splatter Crate

Splatter Crate

Description: Click objects to destroy them for points. Skulls lose points. Miss a crate and lose.

M
MegaDevs
22
0
Prototype 4_Ball Rotation

Prototype 4_Ball Rotation

Here is the two gameobjects one is player ball and another one is enemy ball, enemy ball trying to push out from the ground so player ball getes the energy from bonus gem so player ball push enemy ball.

S
SriharikrishnaGmsq0ugg3
14
0
ModTheCubeChallange_V1.0

ModTheCubeChallange_V1.0

This is WebGL build of my project.

AF
Ahmet Furkan
18
0