ata4 / disunity

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

How to interpret Path ID's? #171

Open thomasblommaert opened 8 years ago

thomasblommaert commented 8 years ago

Hi,

After unpacking a .unity3d file, I imported the sharedassets files into a unity project and used the "mainData" and "level0" file as scenes. Everything works fine but the whole scene (including hundreds of gameobjects) is colored magenta because of missing materials.

I'm trying to relink the MeshRenderer's materials by using the reference id (m_PathID) in the "mainData" and "level0" files (which point to the sharedassets?).

If a gameobject has a material with properties: m_FileID = 0 m_PathID = 261 could I find the related material in the sharedassets file?