mafaca / UtinyRipper

GUI and API library to work with Engine assets, serialized and bundle files
MIT License
2.77k stars 425 forks source link

Error during reading of asset type MonoBehaviour #1649

Open GqLabs opened 1 month ago

GqLabs commented 1 month ago

Game name: (please, specify the game name) Engine version: 2019.4.9f1 Platform: StandaloneWin64Player File name: resources.assets

Error message: Error during reading of asset type MonoBehaviour

Inner message: System.BadImageFormatException: 可执行文件(.exe)或库(.dll)的格式无效。 在 Mono.Cecil.PE.ImageReader.ReadImage() 在 Mono.Cecil.PE.ImageReader.ReadImage(Disposable`1 stream, String file_name) 在 Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) 在 uTinyRipper.Game.Assembly.Mono.MonoManager.Load(String filePath) 在 uTinyRipper.GameCollection.OnRequestAssembly(String assembly) 在 uTinyRipper.Game.Assembly.Mono.MonoManager.FindAssembly(String name) 在 uTinyRipper.Game.Assembly.Mono.MonoManager.FindType(String assembly, String namespace, String name) 在 uTinyRipper.Game.Assembly.Mono.MonoManager.GetScriptID(String assembly, String namespace, String name) 在 uTinyRipper.Game.AssemblyManager.GetScriptID(String assembly, String namespace, String name) 在 uTinyRipper.Classes.MonoScript.GetBehaviourType() 在 uTinyRipper.Classes.MonoBehaviour.ReadStructure(AssetReader reader) 在 uTinyRipper.Classes.MonoBehaviour.Read(AssetReader reader) 在 uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, AssetInfo assetInfo, Int64 offset, Int32 size)

Stack trace: 在 uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, AssetInfo assetInfo, Int64 offset, Int32 size) 在 uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, ObjectInfo& info) 在 uTinyRipper.SerializedFile.ReadData(Stream stream) 在 uTinyRipper.GameProcessorContext.ReadFile(SerializedFile file) 在 uTinyRipper.GameProcessorContext.ReadFile(SerializedFile file) 在 uTinyRipper.GameProcessorContext.ReadSerializedFiles() 在 uTinyRipper.GameStructureProcessor.ProcessSchemes(GameCollection fileCollection) 在 uTinyRipper.GameStructure.Load(List1 pathes, LayoutInfo layinfo) 在 uTinyRipper.GameStructure.Load(IEnumerable1 pathes, LayoutInfo layinfo) 在 uTinyRipperGUI.MainWindow.LoadFiles(Object data)

ds5678 commented 2 weeks ago

Hello

uTinyRipper has been abandoned, but AssetRipper is actively being developed with the intent to recover Unity games as best as possible. I encourage you to help out if you're able and willing. Code contributions can be submitted via pull requests.

Development Progress

These are some of the notable things I've implemented since taking over development.

This is not (at all) a comprehensive list. There are so many other things that could not be included here. They have all been made possible with the support of my generous sponsors.

Future Plans

This is a list of notable improvements planned for the future.

Sponsorship

If you like the work I've done and want to see it continue, please consider sponsoring me. It really helps with development, more than you know.

A Patreon subscription gives access to AssetRipper Premium, which has additional features: