πŸ•ΉοΈ Build with Trail

Let's make a playable build!

🚧

Prerequisites

This article assumes you have the Trail SDK installed, and have logged in with your developer account.
Click here if you don't!

Make a Trail build

509509

The Trail SDK for Unity is the fastest way for a Unity game to reach the web.

1) Select the right Game-project (Game: Your Amazing Game)

2) If it is visible, enable Trail Fast Build to speed up the building process (Read more here)

3) Click Build in the Trail SDK window.

4) Before building, Trail will run an analysis of your project that identifies potential issues. If any critical issues are found, click Open report window. Here you can easily fix any detected issues by clicking the Fix buttons.

5) Now that all critical issues are fixed, click the Build button again to start building.

6) Once Unity is done building, your first Trail build will be ready ✌️

πŸ“˜

Having build problems?

Sometimes, WebGL doesn't support some of your game's libraries or functionalities. Unity does not warn you of these incompatibilities. Luckily, the Trail Code Analyzer (seperate of the SDK) can find some issues for you! What is the Trail Code Analyzer?

550550

The SDK Report window will automatically detect and one-click fix optimal settings for WebGL porting.

πŸ“˜

Custom build pipelines

Using a custom build pipeline? No problem!
Integrating Trail with your custom build pipeline is easy. Read more...

Run your build locally

Running your build locally with the Editor Extension is very useful because it allows you to verify that it runs properly in Trail's live production environment before actually uploading it to Trail :ok-hand:

1) Click Run next to your latest build.

2) Now click Open in browser to open your build in the Trail Game Manager.

3) Excellent! If all went well, you're now running your game on Trail β€” on the web!

638638 12401240

Upload your build to Trail

πŸ“˜

Trail Game Manager

Games uploaded through the SDK end up at Trail's Game Manager β€” a web-dashboard where you can manage, update, and polish your game hosted on the web. Trail solves all hosting and web-technology for you; you simply use the Game Manager (Requires Trail Developer Access)

All that is left now is to upload your build to the Trail platform. πŸ‘

1) Click Stop Running.

2) Click Upload to upload your build to the Trail Game Manager. You'll be prompted to enter a build description, visible only in the Game Manager.

3) Once the upload is completed, the Game Manager will open, and your build will be queued for Trail's automated post-processing. You can run the build right away, even if post-processing has not yet finished 🏁

525525
19011901

Within the Game Manager, open the game-project you uploaded to in the SDK. In there you'll find all uploaded builds.

πŸ‘

Build Uploaded | Success!

Congratulations, you have uploaded a build on Trail.
You can test-run an uploaded build by clicking the play button for that particular build in the Game Manager.
Game Manager > Builds > Play Button

πŸ“˜

Build post-processing

Trail's post-processing optimizes your build in various ways that ensure you get the best possible performance out of your build. We'll work through this post-processing automatically for you, no action is required.


What’s Next