Skip to content

Failed to export MonoBehaviour object whose structure is stored in assemblies #314

@zhengyidong

Description

@zhengyidong

Code
UnityPy/helpers/TypeTreeGenerator.py: line 50

def get_nodes_up(self, assembly: str, fullname: str) -> TypeTreeNode:
        root = self.cache.get((assembly, fullname))
        if root is not None:
            return root

        base_nodes = self.get_nodes(f"{assembly}.dll", fullname)

I'm not sure if this is a common situation, but in the game I'm testing, assembly here already ends with the .dll extension, and the doubled ".dll" causes an error.

Gmae Unity Version
2019.4.40f1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions