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.

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

Bonus Features 3 - Prototype 3

Bonus Features 3 - Prototype 3

Bonus Features from Unity Learn website's Junior Programming Unit 3, but it has a bug on some obstacle and I don't know how to fix it :(

R
ryanlourentino
8
0
dog fights: ocular invasion!

dog fights: ocular invasion!

shoot bones to attack eyeball aliens.

M
msjupy
6
0
Unity Learn Prototype 5 - Whack-a-Food

Unity Learn Prototype 5 - Whack-a-Food

This is my completed Prototype 5 project from the Unity Junior Programmer pathway. In this project I implemented a title screen, difficulty selection, score system, game over screen, restart functionality, particle effects, and a countdown timer. I also completed the bonus improvements and practiced debugging, UI, and gameplay programming. This project helped me better understand Unity fundamentals and C# scripting. I'm continuing my Unity learning journey and looking forward to building more complete games. Feedback is always welcome!

M
mehmetcanatar64
10
0
Balls Enjoyer

Balls Enjoyer

Simple catch-a-ball game

I
Itsukushii
8
0
Prototype 4 - WebGL Build & Camera Switching Mechanics

Prototype 4 - WebGL Build & Camera Switching Mechanics

In this lesson, I completed Prototype 4 and successfully built and deployed it as a WebGL application. Key features implemented in this project: - Configured player controls and physics-based interactions for the rolling ball player. - Added dynamic camera switching using C# scripting to toggle between views. - Fixed WebGL build issues and verified full browser playback via local web server deployment. - Successfully exported and tested the build on WebGL platforms.

P
pabloesonoobunu
16
0
Feed the Wild

Feed the Wild

Feed hungry animals and help nature thrive

C
cghule_49
20
0