Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Subliminalman · Feb 25, 2013 at 09:06 AM · androidiossavedatacopy

How do you copy PersistentDataFolder between devices?

Hi all! I'm working with character save data that I want to use on our Android and iPhone build of the game to see if everything loads correctly. This data needs to be read/write hence the location.

So how would I copy the data from my computers build to the Android and iPhone build? Also is there a way to automate this process either through unity or with bash or applescript?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Subliminalman · Mar 03, 2013 at 06:21 AM

So I found a nifty tool called iFunbox which is a iPhone File Manager which is exactly what I needed so I could just drag and drop files when I need into the persistentDataFolder. It's free so hey here's a link.

http://www.i-funbox.com/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
2

Answer by Graham-Dunnett · Feb 25, 2013 at 10:29 AM

On an iOS device I'd look at UIFileSharingEnabled which allows you to drag and drop assets onto the device using iTunes. You can then have a build of your game that knows where to get this data from. (Note that this is different from using persistent data, it's just a trivial way to test your loading.) UIFileSharingEnabled is a flag you set in the app's plist.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Subliminalman · Feb 25, 2013 at 10:36 AM 0
Share

Cool, I'll check this out! It'll help with testing at least.

So I'm going to assume the only way to have save data preloaded on each device for a build is to either have it already in the resources folder or have it stored somewhere and get it with the WWW class.

This may be beyond the scope of the initial question but is there a way Unity can do a post script to make a directory on the iOS device so I may use the WWW class?

avatar image Graham-Dunnett ♦♦ · Feb 25, 2013 at 10:47 AM 2
Share

Something like the code on this page: http://docs.unity3d.com/Documentation/$$anonymous$$anual/iphone-Downloadable-Content.html

avatar image Subliminalman · Feb 25, 2013 at 10:53 AM 1
Share

Thank you! This has led me in the right direction especially since we're doing Downloadable content.

You deserve a high five Highfive

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android/IOS: Sharing save file between free and paid versions 0 Answers

iOS - Saving Data (Image) 1 Answer

Does PersistentDataPath get overwritten on mobile? 1 Answer

Dinamic name for data save 0 Answers

The best way to save and load data for mobile in unity ? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges