- Home /
Storing and loading assetbundles into remote database & data about them
Hello, I've ran into a set of problems/questions regarding assetbundles and databases, tried my luck on Unity Forums, though didn't have any luck ( Full post, without any answers: https://forum.unity.com/threads/3d-asset-and-data-loading-from-database.1009033/ ). So let me pose few questions, perhaps in a more concise manner: 1) If I wanted to store built assetbundles of 3d models into some sort of a database, which would be hosted on a remote server, how would I got about that? Found few posts that pose somewhat(?) similar questions, but no straight forward answer. I would need to make them as a DLC for my app/game, that players could load on demand, or just download all of them, and use the app offline. Preferably i'd like to have some sort of heading as to not "how to build a assetbundle", but how to actually upload it to a remote server, and them load it in-game. 2) If I wanted to "connect" some data with each of those 3d models, meaning each 3d model within the bundle, should have some set of data(a table of data) linked with it(like ID, price, manufacturer, etc.)? Maybe MySQL table? How would I got about 'connecting' 3d models saved in some cloud database, and some data saved in tables in mysql.
From the information that i've gathered so far, I'd build assetbundles within Unity, upload to them to some cloud server(?), also create mysql table, that would describe data about each 3d model, and then for the actual process - load Assetbundles and read MySQL table within unity. Not sure about how to 'link' 3d models and data about them, nor how the process of uploading built assetbundles, and then reading them from server works.
Any and all help is highly appreciated.
Maybe my phrasing/terminology is wrong, but the idea is, i want 3d models(and data about them(id,price,etc.) to be DLC(Downloadable content), that can be updated from my(developer) side easily, as be optional to download to the user.
Your answer
Follow this Question
Related Questions
Workflow Question with Unity and online Database 0 Answers
MySQL connector failing to initialize MySqlClient ReplicationManager in Build 1 Answer
How to import the object from server to unity 2 Answers
Finish setup php, how to communicate with mySQL and unity 2 Answers
WebHosting with phpMyAdmin PHP 0 Answers