🎮Publishing Unity Projects
Publishing a Unity Project with Valist is super easy!
Last updated
Publishing a Unity Project with Valist is super easy!
Last updated
Publishing a Unity Project with Valist is super easy -- you have multiple options, depending on whether you are building for WebGL, or a native Windows, Mac, or Linux executable.
The first thing you'll need to do is configure your Valist Project Type.
web
is for projects built and distributed via WebGL
native
is for projects built to native executables for platforms like Windows, Mac, or Linux.
You can set this in your Project Settings by visiting your project, and clicking the Settings
icon:
This will take you to your Project Details, where you can configure the Project Type:
Setting this to web
will tell Valist to open this in browsers or WebViews, and will show a regular folder uploader on the Web Dashboard Publishing page.
Setting this to native
or cli
will tell Valist to change the upload form to include multiple platforms (Mac, Windows, Linux), so that you can specify which binary corresponds to each platform during publish.
For more information, check out "How Native App Publishing" in Valist works:
Building your Unity project works the same as you would normally!
However, something to consider if you are using WebGL is that most IPFS gateways do not support Gzip compression -- the default Unity settings.
The Valist IPFS Gateways *do* support Gzip, since it returns the proper headers, but keep this in mind if you plan on accessing this from other IPFS gateways. As a fallback, you can disable compression, but this is only recommended as a last resort.
From here, all you need to do is publish your project! The flows from here are largely the same as any other Valist project.
If you're using the Valist Web Dashboard, it's a simple drag and drop. The Valist CLI is also super easy to configure and publish with!
Depending on your Project Type, you will have slightly different publishing flows.
For web
projects, follow from Step 2 of the following page:
For native
projects, follow from Step 2 of the following page:
That's all you need to publish a Unity project with Valist and distribute it to the world! 🚀
MintWorld - 2D Monster Catcher RPG built with Unity & ChainSafe SDK