- Home /
AssetBundles on remote server
Hi.
Now, upon request by my boss, I have to do this task
Some people will upload their 3D object including texture on the server side and on the server, it has to generate the AssetBundles available and store it in a location in the server side. (It will take several minute, it is no problem, we will not do in in run-time during gameplay).
Then upon receiving the URL for AssetBundles, the game on device download, extract the object to use later.
I have found here http://answers.unity3d.com/questions/10868/how-to-build-asset-bundles-at-runtime-from-a-serve.html and some answers said we can do it using Unity Editor from command.
Could you please let me know if it is possible to deploy Unity Editor on Amazon server (or whatever cloud server) so that I can call the command to generate AssetBundle automatically everytime someone uploads a 3D model to the database ?
Thank you in advance.
Answer by Graham-Dunnett · Jul 09, 2014 at 09:03 PM
Assuming you can install the editor on your cloud server, have a valid license for it, and are physically able to activate, and know that the machine identity doesn't change when Amazon (or whoever) fire up a new server, then you should be able to do what you want. The most-common problem is when the app runs headless and the activation process requires a GUI.
Well my app is actually a game so I do think it will run headless. But I quite do not get your point in "activation need a GUI". Could you please explain a bit more on this? You mean everytime the app make request to Unity on cloud, it has to reactivate the license or what?