- Home /
How can I recover unity project from app build?
Hi. So I have a .app file I have built for iOS and Mac operating systems, and it works when I run it. However, I have lost all my project files and cannot edit or change my game. Is there a way for me to sort of..."unravel", or produce the unity project out of the application file? If so how? Any help would be much appreciated.
You are looking to 'decompile' files by the looks of it, but I don't know much about IOS/$$anonymous$$ac app file specifics. This article might be of interest:
http://answers.unity3d.com/questions/185587/extract-files-from-build-or-unbuild.html
[skip to bunny83 comment]
Chances are you won't get the files back. No point in pushing you towards a route of hope when it will probably just be a lot faster to simply start fresh (obviously depending upon how big this project was). It was nothing major was it?
Answer by kinggaunt · Oct 23, 2014 at 07:59 PM
I don't think you can. It compiles it into files for that certain operating system or version. Gets rid of unnecessary crap to reduce file size :/
Yeah - that's 100% correct. I've made a cake. How can I get the egg back out of it? I need to give it back to the chicken. I've still got the shell, not sure how I am going to glue that back together.
I'm not convinced that is 100% correct, though getting into a discussion based on opinion would be off topic - better suited to the forums. Therefore I leave the reader to the following links to make their own $$anonymous$$d up:
http://gutsdev.wordpress.com/2013/08/15/investigating-unity-security/ http://answers.unity3d.com/questions/448057/how-to-prevent-unity3d-file-from-disassemblyrevers.html
This whole discussion is highly dubious to me. The idea that you've lost all your project files, but still have the compiled app rings so very much like "I've this Hearthstone app... can I get the source?"
If we all agree that we should see the best in people first, and judge them not, then please take this as a lesson and take the time to educate yourself about the wonders of source control.
Its a plausible scenario. Before I figured out source control I lost my project. But I still had a .unity3d file I'd deployed on a web server. I didn't bother trying to recover it and chalked it up to experience.
Answer by unity_Lm9iTMQ8Dinz_A · May 12, 2020 at 08:53 AM
I found this anwser on Quora:
Contrary to popular belief, it is possible to get the compiled code and assets from a built version of the Unity game. If you ever happened to create a build you can use tools such as ILSpy or dotPeek to gain access to the code. For assets, you can use Unity Asset Explorer. Just search that up on google and I'm sure you're capable of finding it. Else, I'm afraid it is truely gone forever assuming you didn't leave the project in the recycle bin on windows.
FOLLOWING SOLUTION WORKS WOTH WINDOWS ONLY
Once you have downloaded either ILSpy or dotPeek, navigate to the “managed” folder of your game build, and open the ‘Assembly-CSharp.dll’, ‘Assembly-CSharp-firstpass.dll’ and ‘Assembly-UnityScript.dll’ files with either of these programs. You shouldn't have a hard time finding all your code from there.
As for assets, using unity asset explorer, it is pretty straightforward to get your assets. I reccomend reading this article: A practical tutorial to hack & protect Unity games - Alan Zucconi
It will show you how to do everything I mentioned above.
I tried it and I got the code back, but I didn't try the assets yet.
Answer by jtok4j · Dec 14, 2014 at 02:50 PM
Usually, you have to take apart your built .app or such and then you get pieces which can further be taken apart and the assets and scripts recovered from it.
I know (Didn't backup my stuff and had a working PC/web/android version, but no project... Have started backing up religiously since then.)
Google these tools such as : Unity Assets Explorer, Unity3d Obfuscator, and Unity Asset Explorer Hope they help you get your work recovered. :D
Your answer
Follow this Question
Related Questions
Recover project from a different computer? 1 Answer
Java code not working. LOST PROJECT 1 Answer
Connect to collaborate 0 Answers
File Missed 1 Answer
How do I keep Lightmap information when copying a project? 0 Answers