ata4 / disunity

An experimental toolset for Unity asset and asset bundle files.
The Unlicense
2.7k stars 659 forks source link

can't export mesh #110

Open ghost opened 9 years ago

ghost commented 9 years ago

[warning] AssetExtractor: Can't extract Object #588 (ClassID: 43, Class: Mesh), caused by java.lang.NullPointerException at info.ata4.unity.cli.extract.mesh.MeshData.readVertexBuffer(MeshData.j ava:190) at info.ata4.unity.cli.extract.mesh.MeshData.(MeshData.java:66) at info.ata4.unity.cli.extract.mesh.MeshHandler.extract(MeshHandler.java :40) at info.ata4.unity.cli.extract.AssetExtractor.extract(AssetExtractor.jav a:168) at info.ata4.unity.cli.cmd.ExtractCmd.processAsset(ExtractCmd.java:43) at info.ata4.unity.cli.cmd.AssetCommand.processAssetFile(AssetCommand.ja va:100) at info.ata4.unity.cli.cmd.AssetCommand.processFile(AssetCommand.java:90 ) at info.ata4.unity.cli.cmd.FileCommand.processPath(FileCommand.java:58) at info.ata4.unity.cli.cmd.FileCommand.run(FileCommand.java:76) at info.ata4.unity.cli.DisUnityCli.run(DisUnityCli.java:110) at info.ata4.unity.cli.DisUnityCli.main(DisUnityCli.java:123)

Somebody please help me with this why won't it even extract the meshes into .obj it just does extract any meshes

ata4 commented 9 years ago

Probably an unsupported mesh format. In DisUnity 0.3, there's lots of problems with meshes because the mesh object format in Unity has so many different revisions and is quite complex, so I was able to support a small subset only. I plan to rewrite the mesh extractor for 0.4, but there's so much to do with the code right now...

ghost commented 9 years ago

Using lastest version of Disunity

crazyfree commented 9 years ago

I have an very simple idea, just ignore the mesh that can't parse :dancer: