- Home /
How do I extract assets from a pre-compiled Unity game?
I have a game that is already compiled that was made in Unity and I need to extract the assets somehow. Does anyone know how to extract the assets?
I have this very legitimate problem, too.
As you know, Unity regularly comes up with newer versions and, if you're like me, you like to have the most recent one. I've had to move all of my projects form one Unity installation to the other at least five times now and, along the way I have goofed up and lost the entire project folder and all of the resources for two or three of my games... everything but a compiled WebPlayer, anyway.
Right now I'm trying to get the resources out of one WebPlayer in particular that I made a year ago. $$anonymous$$y skills have improved since I made that game, and right now I'm on this whole 'upgrade' and 'modernize' kick, and I would love to re-do the game without starting from scratch and re-doing the models and textures, too. That's all. Nothing sinister. It isn't always a bunch of losers, too lazy to make their own stuff, trying to s$$anonymous$$l someone else's... some times it's just a guy with a pocket full of thumb drives who finally does the inevitable and loses something they've been working on for months... everything but a compiled WebPlayer that they uploaded to the Internet last year, anyway.
Good luck looking for that unpacker... I sympathize.
That is actually a very inappropriate question similar to "How do I open someone else's bank cell with valuables?" Any software offering such unpacking is illegal and will do no good for you. Start over and welcome to "Now I know I have to make cloud backup time-to-time" club :)
Not exactly. It seems there are quite a few developers who managed to not create any backups of their project files and somehow lost their project and just want to recover certain assets from a build they still have. A software that if offering such unpacking is certainly not illegal. It doesn't circumvent any explicit security measures to extract the data. Otherwise any archive tool (winzip, 7zip, winrar) would be illegal as well.
Like with any kind of tool it can be used for legitimate purposes or abused for illegal. Even "malware" has legitimate uses in the security business.
Bunny83, that's not even a reasonable comparison. The intent of an archive file if to open it and restore data from inside. That's it's entire purpose. "Recovering assets" from a compiled executable is not the purpose of an executable. Folk not backing up their data is no reason to look for circumvention measures. Aside from the fact that anyone could say "Oh, i just need to open my own executable to extract data" even if it isn't true.
Answer by psycho-brm · Jun 12, 2013 at 08:33 AM
You can with Unity Assets Explorer: http://forum.xentax.com/viewtopic.php?f=10&t=10085
You just saved me. I moved computers and all my assets got lost in the process. I was able to retrieve them from a compiled prototype, using this tool. Thank you.
@psycho-brm Your dowload link from dropbox appears to be temporarily suspended. You may want to add a secondary source.
Answer by syclamoth · Jan 31, 2012 at 12:13 AM
You can't. Unity specifically builds its games in such a way as to make it extremely difficult to do this.
Why do you need to extract assets from this game? If it's something you have legitimate access to, can't you just ask the original creator? If it's a game you created, but have subsequently lost the project file for, then bad luck. You should have kept better backups.
No, it doesn't do any such thing. It builds games to make them load quickly and support a complex feature set, not to obfuscate the file format. Any complexity is merely optimization. Don't say things just because they sound true, and stop being condescending--it doesn't make you sound smart.
He said nothing wrong, there is a reason Resources are compiled in a way they're difficult to alter. Doing this doesn't exactly make it easier for Unity to access. You just sound butt hurt.
Actually, what he did say as related to the original question is absolutely wrong. Unity doesn't "specifically build its games in such a way as to make it" any level of difficulty to extract resources. Just because you aren't able to do it doesn't mean it's difficult to do. In fact, AssetBundles are not obfuscated at all.
Answer by DevXDeveloper · May 26, 2017 at 05:12 AM
Utility DevXUnity Unpacker Studio
http://devxdevelopment.com/UnityUnpacker
Video - Generate Unity Project from Game distributive (win, apk -> Unity3d project)
Functionality:
Opening of distribution files (Unity standelone files (win, MAC, linux), apk, ios)
View scene structures
View resources content (text, images, sounds, meshs, scripts, scene objects)
View scripts source code (decompile)
Export resources and scripts (convert image asset to PNG, DDS, sound to WAV, export Mesh to .obj format, decompile assemblys and etc.)
Export with make unity project (scenes, plugins, scripts, resources) (only for DevXUnity-UnpackerStudio type license)
- Replace content in assets: (for standelone games)
replace textures
replace text
replace sounds
change asset header fields
Replace and view all strings in assembly
Support Unity3D Asset types:
Texture2D (support convert to PNG)
TextAsset
Mesh (support convert to Obj format)
AudioClip
MeshFilter
Material
Renderer
GameObject
Transform
GameObject and other..
Formats resource file names: level ; mainData; CustomAssetBundle- ; CAB- ; BuildPlayer- ; .assets; * .sharedAssets, and other..
Opening APK files with the ability to view and export the contents of the package. - .apk
Opening Unity bundle files with the ability to view and export the contents of the package:
.unity3d;
.unity3d.lz4;
.assetbundle;
.bundle;
.bytes
New version 1.08 is available
Fixed bugs, added support for more versions of Unity3D
Nice character design - what's the name of the game you're making there?
I am getting an error while using the Devxunityunpackerstudio (I am using the demo version)
License for the unpacker studio is not activated.
Can anyone please tell me how to get the free license key for this or is there any other way to do that for free?
UnityAnswers is not a support forum for thirdparty software products. You should contact the support of that software.
Answer by remyti · Jul 11, 2019 at 01:38 PM
Think twice before you consider purchasing DevXUnity Unpacker Studio.
I had recently really bad experience with it. In my case it even didn't work, it crashed around 60%. Customer support and general communication is non existent. Developer had quite quick response for presale questions (Usually same day), but after purchase I didn't receive any response for weeks when the program just crashed. After I opened the claim at Paypal he again responded and got the screenshots and debug logs but finally I think he just gave up as he was unable to fix the program.
But the most important thing, I did check what did it manage to export within that 60% and I have to say there was nothing more special than uTinyripper can do. With uTinyripper you have to decompile the scripts yourself and the program did apply some C# patches that you will have to do yourself (Anyone trying to reverse engineer Unity will have to know C# anyway) but other than that there was no better result than open source tools can provide. Addition to that you have to be aware that the program requires constant Internet connection and you have to make an exception to your antivirus software to allow it to run. I would not suggest to run this application on your main workstation as in reality you can never be sure that it does not contain malware that could harm your computer or log your keystrokes etc. Also you have to take into consideration that when developers server is down you are not able to use that software. So for example when the developer realises that his software does not support additional value to those open source softwares and stops hosting his license server you will also lose the access to the application.
Answer by nsurdu · Jan 04, 2020 at 09:14 AM
I had great success using Unity Assets Bundle Extractor.
Here is a quick tutorial on how to use it.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Packages with Licenses? 1 Answer
How can i save my Unity project? 3 Answers
Assets for Free Unity 1 Answer
How Can I Make a Bouncy Platform? 1 Answer