Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(UnityExtract) Class ID: KeyError: -14 #63

Open
Avatarchik opened this issue Dec 7, 2017 · 1 comment
Open

(UnityExtract) Class ID: KeyError: -14 #63

Avatarchik opened this issue Dec 7, 2017 · 1 comment

Comments

@Avatarchik
Copy link

Avatarchik commented Dec 7, 2017

UnityPack Version:0.8.1
file: https://drive.google.com/open?id=1u39GZ2llpNWJAH80rrjtvnZxPYz4SGMP

How to skip classes with id <0?

WARNING:root:-14 absent from structs.dat
WARNING:root:-6 absent from structs.dat
WARNING:root:-16 absent from structs.dat
WARNING:root:-10 absent from structs.dat
WARNING:root:-22 absent from structs.dat
WARNING:root:-33 absent from structs.dat
WARNING:root:-9 absent from structs.dat
WARNING:root:-18 absent from structs.dat
WARNING:root:-25 absent from structs.dat
WARNING:root:-8 absent from structs.dat
WARNING:root:-3 absent from structs.dat
WARNING:root:-23 absent from structs.dat
WARNING:root:-32 absent from structs.dat
WARNING:root:-31 absent from structs.dat
WARNING:root:-12 absent from structs.dat
WARNING:root:-28 absent from structs.dat
WARNING:root:-19 absent from structs.dat
WARNING:root:-20 absent from structs.dat
WARNING:root:-30 absent from structs.dat
WARNING:root:-29 absent from structs.dat
WARNING:root:-4 absent from structs.dat
WARNING:root:-2 absent from structs.dat
WARNING:root:-15 absent from structs.dat
WARNING:root:-27 absent from structs.dat
WARNING:root:-24 absent from structs.dat
WARNING:root:-17 absent from structs.dat
WARNING:root:-35 absent from structs.dat
WARNING:root:-7 absent from structs.dat
WARNING:root:-26 absent from structs.dat
WARNING:root:-5 absent from structs.dat
WARNING:root:-21 absent from structs.dat
WARNING:root:-11 absent from structs.dat
WARNING:root:-13 absent from structs.dat
WARNING:root:-34 absent from structs.dat
Traceback (most recent call last):
File "d:\Projects\Other\UNITYPACK\UnityPack-master\bin\unityextract", line 173, in
main()
File "d:\Projects\Other\UNITYPACK\UnityPack-master\bin\unityextract", line 169, in main
exit(app.run())
File "d:\Projects\Other\UNITYPACK\UnityPack-master\bin\unityextract", line 74, in run
self.handle_asset(asset)
File "d:\Projects\Other\UNITYPACK\UnityPack-master\bin\unityextract", line 107, in handle_asset
if obj.type not in self.handle_formats:
File "d:\Projects\Other\UNITYPACK\UnityPack-master\bin..\unitypack\object.py", line 30, in type
script = self.read()["m_Script"]
File "d:\Projects\Other\UNITYPACK\UnityPack-master\bin..\unitypack\object.py", line 84, in read
return self.read_value(self.type_tree, BinaryReader(BytesIO(object_buf)))
File "d:\Projects\Other\UNITYPACK\UnityPack-master\bin..\unitypack\object.py", line 51, in type_tree
return TypeMetadata.default(self.asset).type_trees[self.class_id]
KeyError: -14

@Avatarchik Avatarchik changed the title Class ID: KeyError: -14 (UnityExtract) Class ID: KeyError: -14 Dec 7, 2017
@loeffel-io
Copy link

belongs to #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants