Closed guobailin closed 10 years ago
because the .assets file isnot Standalone ??
There are some textures that contain no actual texture data. I don't really know why, but it seems to be normal in some cases. DisUnity will simply ignore these textures on extraction.
i extract nothing using '-c extract ' command ,it meams DisUnity cannot go through。 BUT using '-c extract-raw' i can get extracted files in .bin format . AND using '-c dump' and '-c dump-struct' ,it seems like DisUnity can Parse the .assets file totally.
like following:
MonoScript string m_Name = "iGUINumberField" SInt32 m_ExecutionOrder = 0 UInt32 m_PropertiesHash = 1407810319 string m_ClassName = "iGUINumberField" string m_Namespace = "iGUI" string m_AssemblyName = "iGUI.dll" bool m_IsEditorScript = false
Texture2D string m_Name Array Array SInt32 size char data int m_Width int m_Height int m_CompleteImageSize int m_TextureFormat bool m_MipMap bool m_IsReadable bool m_ReadAllowed int m_ImageCount int m_TextureDimension GLTextureSettings m_TextureSettings int m_FilterMode int m_Aniso float m_MipBias int m_WrapMode int m_LightmapFormat TypelessData image data SInt32 size UInt8 data
so i have 2 questions:
thks for you attention.
Texture2DHandler can not handle your file and throw a runtime exception I think. u can look the line 60 in Texture2DHandler.java
addtionally, now u can find disunity support engine versions in Suport.md Tested engine versions 2.6 3.1 3.3 3.4 3.5 4.1 4.2
ÔÚ 2014-02-20 22:06:35£¬guobailin notifications@github.com дµÀ£º
please help,thks
¡ª Reply to this email directly or view it on GitHub.
thks..
Texture2DHandler.java
try {
tex.read(obj);
} catch (RuntimeException ex) {
L.log(Level.WARNING, "Texture2D {0}: {1}", new Object[]{tex.name, ex.getMessage()});
return;
}
But REVISON in the first picture is 3.4.0f5. it was in the list of support .
Finally, Affter reboot my system and try again , the problem has gone.
THKS all!!
I investigated Texture2DHandler, looks like it threw an unexpected RuntimeException with no message for you, which explains why the message just says "null". I changed the code a bit so it logs more useful messages in that case.
please help,thks