Asset Layer Game Server

Asset Layer requires using a server for user authentication in order to keep your App Secret secure. The Asset Layer Game Server is an Express server that can be easily configured and deployed to handle all of your Asset Layer needs. You are welcome to extend the Asset Layer Game Server to fulfill all of your game's server-side needs. You can also add Asset Layer functionality to your existing game server using our API and SDK.

Configure and Deploy the Asset Layer Game Server

You can find the Asset Layer Game Server at this GitHub repo, https://github.com/unbounded-enterprise/asset-layer-proxy-express. You can fork or create a remote repository for your game's server.

Once you've forked ore created a remote repository for your game's server, you can deploy and configure the server through a service such as Heroku. See below for detailed instructions on deploying and configuring your server through Heroku.

Add Your Game Server to Your Unity Project

Once your server has been configured and deployed, you can add your server's URL to your Unity project settings. You can access the project settings through the Edit menu in the navbar. You'll see a tab, "Asset Layer App Settings". In this tab, there is a field "Proxy Server URL". Enter your server's URL here.

Configure and Deploy Your Server Through Heroku

If you don't have a Heroku account, you can sign up for free at heroku.com

Once you are logged in, create a new app. Give your app a name and create your app. You will need to have a payment method on file with Heroku to create your app.

Once your app is created, select GitHub as your deployment method. You'll need to connect your GitHub account to Heroku first.

Now, all you have to do is add your server URL to your Unity project settings. For directions, see the above section. For a video demonstration of this process, see How to Integrate Asset Layer into your Unity Game

Last updated