- Home /
Built Android game for iOS, it overwrote my assets folder
I had my game completed for android. I switched platforms to iOS and was doing the initial build for iOS. It brought up a "Select Folder" window. I chose my Assets folder thinking it would create an apk file like android does. After the build was completed my assets folder is now full of some other files related to the iOS build and all my assets are gone. Is there any way to recover the asset files that were overwritten?
I really hope there is something that can be done.
Answer by Kiloblargh · Feb 24, 2014 at 03:17 AM
This is not really a Unity question... But there are several different file recovery tools for mac OS. If you have any, or can find such a program, use it as soon as possible, and you may be able to get some or most of your assets back. If the file recovery software can't find it, it's Gone.
What you can do in the future, now that you've learned the hard way, is make a back up every day so when something like this happens (and it inevitably will, sooner or later) you are only set back at most 24 hours.
Well, it's a Unity question if iOS build overwriting files is not normal, and if unity has any internal backup functionality that I might not have known about. I've tried file recovery, but thanks for the answer. Now that I see there isn't a Unity solution... it looks like I'm starting over again with regular backups.
Agreed that it would be nice if it actually told you it would clear the folder. I can't recommend using version control enough.
Your answer
Follow this Question
Related Questions
My iPA is much larger than my apk 0 Answers
How do you manage your Free and Paid Android/iOS game(C#) 1 Answer
Cannot build the application neither for Android not for iOS 2 Answers
Develop for two platforms simultaneously? (or at least reducing the conversion time) 0 Answers
Unable to build to Android and iOS using BuildPipeline Failed to copy files 1 Answer