Unity Addressable with Google Cloud


This turorial will guide you to set up Addressable Remote content to Private Google Cloud

Note: Only your bundle in private, your catalog will be public.

You need to go throw some step: 

Step 1: Set up Unity Project and Addressable Package

Step 2: Set up Google Cloud API to Google Cloud (Cause unity not allow install Nuget throw Visual Studio)

* This base on tutorial: https://docs.microsoft.com/enus/visualstudio/gamedev/unity/unity-scripting-upgrade. 

1: Use Visual Studio Create a empty C# project Exam: 

2: Use Nuget Manager Install Google.Cloud.Storage.V1 to TakeGoogleCloudAPI (Cause Google.Cloud.Storage.V1 need some dependent package, and dependent package also need other dependent package -> let it auto install all of that)

3: In Unity Project, Create folder Plugins inside Assets Folder

4: Go to ProjectA/Pakage go inside each folder and choose dll you need .Net2 or .Net4x:

Exam: you Use .Net2 in Unity Project => Copy lib/netstandard2.0 inside each folder in TakeGoogleCloudAPI/Pakage (Except Newtonsoft.Json cause Unity has this package even though it's old version)

5: Parse all copyed dll in to Plugins folder in Unity Project

6: After that unity will show error about Json Version, then open unity project by Visual Studio then Open Nuget and Install newest Json Package.

7: Create a file named link.xml in your Unity project's Assets directory and add the following XML to Assets Folder in Unity project:

8: if Unity Still Show Error => Restart Project. Done Step 2

Step 3: Create Google Cloud

1: Create Google Account and Start Google Cloud (If new you has 90 days free trial)

2: Create Store private Budget for bundle and a folder same name with remote load path on Unity 

Exam: In Google Cloud: Create Budget PrivateBundle, and folder TestCloud inside. 

In Unity Project, set Remote Load Path = TestCloud 

3: Create Store public budget for catalog 

Exam: In Google Cloud: Create Budget PublicCatalog.

4: Create Server, Create Key, DownloadKey

....For more (Cause limit text in this content), download Documentation : Documentation

*for detail watch video: 

Leave a comment

Log in with itch.io to leave a comment.