I want to create a customizable Unity app. I am trying to achieve the following workflow:
- Create a Unity app for Android that supports a variable number of customizable and optional assets
- Pre-build the app once
- Users insert in the app their own list of assets (such as logo, images, etc) and a file describing the assets in a JSON or XML file without needing Unity
- At runtime, the app finds the JSON file, load the custom assets and use them.
Step 3 should be done by users that do not know how to use Unity (and do not own it). This step requires to unpack the apk, insert the assets and repack the apk. This should be achieved with a simple script.
Questions:
- What is the best way to achieve this workflow?
- Do you know a sample project using this approach?
Thanks!
This is a fairly unusual use case - typical end users would not be capable of unpacking and repacking an APK. Why do the assets need to be packed? Can they not simply be placed in a publicly-accessible directory and accessed via Application.persistentDataPath?
– tanoshimi