Run time swapping of default database
Posted: Thu Jan 09, 2025 1:27 am
My use case is as follows:
- The game is developing, so many people are working on different variations.
- To support this we are creating a versioning system for our game, which versions the metadata and the dialogues according to the metadata.
Question:
- Can we at run-time load a Dialogue database asset? I know about the adddatabase method, but that is just to add a database as an extension right? I want to completely override the default database based on the version of the game that is running.
- If yes to the above question, should we export the database as a unity asset, or export it as a CSV and then load it at run time?
PS: The database asset cannot be marked addressable, as the version system is our own.
- The game is developing, so many people are working on different variations.
- To support this we are creating a versioning system for our game, which versions the metadata and the dialogues according to the metadata.
Question:
- Can we at run-time load a Dialogue database asset? I know about the adddatabase method, but that is just to add a database as an extension right? I want to completely override the default database based on the version of the game that is running.
- If yes to the above question, should we export the database as a unity asset, or export it as a CSV and then load it at run time?
PS: The database asset cannot be marked addressable, as the version system is our own.