f6b4ef8 now demands a TypeTreeGeneratorAPI instance to be set, whether check_read is enabled or not.
Reading partial MonoBehavior structs (without extra serialized fields) was allowed in previous versions where check_read=False, where one can expect the following snippet to work with a typetree-stripped bundle:
if reader.type == UnityPy.enums.ClassIDType.MonoBehaviour:
mono = reader.read(check_read=False)
# Resolve m_Name, m_Script, etc
...
This is now (1.24.0+) impossible, and because of this, peek_name() would also fail without a generator set.
f6b4ef8 now demands a TypeTreeGeneratorAPI instance to be set, whether
check_readis enabled or not.Reading partial MonoBehavior structs (without extra serialized fields) was allowed in previous versions where
check_read=False, where one can expect the following snippet to work with a typetree-stripped bundle:This is now (1.24.0+) impossible, and because of this,
peek_name()would also fail without a generator set.