HearthSim / UnityPack

Python deserialization library for Unity3D Asset format
https://hearthsim.info/
MIT License
720 stars 153 forks source link

keyerror -10 #100

Open loeffel-io opened 4 years ago

loeffel-io commented 4 years ago

unityextract data.unity3d 1403656975 absent from structs.dat -10 absent from structs.dat -15 absent from structs.dat -11 absent from structs.dat -5 absent from structs.dat -7 absent from structs.dat -8 absent from structs.dat -14 absent from structs.dat -12 absent from structs.dat -6 absent from structs.dat -2 absent from structs.dat -17 absent from structs.dat -16 absent from structs.dat -18 absent from structs.dat -19 absent from structs.dat -9 absent from structs.dat -3 absent from structs.dat -4 absent from structs.dat -13 absent from structs.dat Traceback (most recent call last): File "/usr/local/bin/unityextract", line 159, in main() File "/usr/local/bin/unityextract", line 155, in main exit(app.run()) File "/usr/local/bin/unityextract", line 57, in run self.handle_asset(asset) File "/usr/local/bin/unityextract", line 83, in handle_asset if obj.type not in self.handle_formats: File "/Library/Python/3.7/site-packages/unitypack-0.10.0-py3.7.egg/unitypack/object.py", line 30, in type script = self.read()["m_Script"] File "/Library/Python/3.7/site-packages/unitypack-0.10.0-py3.7.egg/unitypack/object.py", line 84, in read return self.read_value(self.type_tree, BinaryReader(BytesIO(object_buf))) File "/Library/Python/3.7/site-packages/unitypack-0.10.0-py3.7.egg/unitypack/object.py", line 51, in type_tree return TypeMetadata.default(self.asset).type_trees[self.class_id] KeyError: -10