#Hi everybody, i would like to ask how
1 messages · Page 1 of 1 (latest)
i tried both but they gave me the possibility to upload one single item at time, not everything, is there something i'm doing wrong?
For the deployment window, there's a deploy all.
@worthy palm Any additional insights for both CLI & Deployment workflows?
What i am asking is, do i need to upload every single economy item or is there a way to upload every item at once? Image you created all the items from the dashboard and want to move them on another environment but you don't have them on unity; what i would do for example on the remote config is exporting the configuration, change the env and reuploading it trough the dashboard
I'll let @worthy palm chime in here as he's more aware of the possible solutions
- any feedback on those workflows (gaps, issues, improvements) is really valuable for us to improve to prioritize improvements!
Hi @cloud niche , to deploy those items, you have a few options:
- Select them with the checkbox on the left, (or their ddef) and hit "Deploy Selected"
- Select Deploy all
- With the CLI, do
ugs deploy Assets/Economy -e myOtherEnv(or whatever the path it is at)
To change the environment in the editor hit the top right of the deployment editor and "Environment Settings" OR go to project settings > Serices >Environments
Either of those will change the environment you deploy to
Let me know if that answers your question 🙂
ok but if i don't have the economy items on the unity editor but only on the dashboard, is there a way to move them all into another env? by CLI? or i have to move them one by one?
There is, through the CLI:
ugs fetch Assets/Economy -s economy --reconcile --dry-run
reconcile will add/delete/modify the existing files in the editor, so I recommend you run a dry-run first to see what the results will be
Alternatively, you can just dump them into a different folder and then ensure that you get what you want yourself with your favorite diff tool
mkdir Assets/Economy2
ugs fetch Assets/Economy2 -s economy --reconcile
We are thinking of adding the fetch functionality back into the editor, let us know what you think.
Also, where would you have looked for the answers to this question?
Ok so the Assets/Economy is the folder where i want the CLI to download/upload or do something about, ok i will try this, i read about this but IMHO the doc about this is lacking a bit of examples or is to dispersive
Now i get how it works, thank you, a simple description like that would help a lot in the DOC if you can
"Also, where would you have looked for the answers to this question?": Actually there are tons of different DOCS that i'm jumping here and there to try figure out how to do things
"We are thinking of adding the fetch functionality back into the editor, let us know what you think." Would be great and much quicker
There's a lot of services so its not easy to manage where to put cross-platform concerns. Any ideas of where you'd look could help us better organzie stuff, even with some redundancy
https://docs.unity.com/ugs/en-us/manual/economy/manual/write-configuration Here it is how to write but inside of it there is also how to read it, i think that can be misleading
Maybe is better to call it Read/Write configuration