i want to save the positions,rotations and tags of all instantiated objects when i quit game and get back number of instantiated objects and assign them their positions,rotation and tag when reopen my game in android mobile?
i tried it with playerprefs but its not working properly,it miss some of instantiated objects when i reopen my game.i have attached script which i am using but its not working properly
Please guide with proper solution,i have research it but could get any proper solution.
Thank you for help.
You could try this for some help: Persistence: Saving and Loading Data - Unity Learn
There’s another Utility built into Unity called JsonUtility. You can search for information on that - it’s pretty straightforward.
Hope that helps.
PS. If you’re looking to post code on the forums, read this page: Using code tags properly
People generally don’t want to have to download a file to discuss some code in a question/post
Thankx for the help i have done it btw
i have got an plugin Let me upload that for future use for others.
it works perfectly
Is that an asset from the asset store you posted?
yeah i got it from torrent but also available on assetstore updated version but it works fine for me
This is getting a screenshot and going on my wall.
You cannot download paid assets from torrents or websites without paying for them: this is theft. You cannot use stolen assets in your game dev projects. You definitely cannot distribute stolen goods, and especially not on the forum of the company you’re (in part) stealing it from. If this is a free asset, and not the one that I think it is, then post a link to the page on the UAS and not the asset itself. Even free assets shouldn’t be distributed in this way- the license that makes it “free to use” is between the UAS and the downloader.
If you dont want to use then dont do anyone who needs he/she can do
Anyone who engages in piracy is insta-banned. Posting paid assets on a developer forum is one of the least acceptable things you could do.
No, they cannot.
–Eric