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

ValueError: 1056964608 is not a valid RuntimePlatform #105

Open
sebastientromp opened this issue Oct 30, 2021 · 0 comments
Open

ValueError: 1056964608 is not a valid RuntimePlatform #105

sebastientromp opened this issue Oct 30, 2021 · 0 comments

Comments

@sebastientromp
Copy link

Hello,

I just installed UnityPack on a new computer, and got this issue:

Traceback (most recent call last):
  File "./bin/unityextract", line 222, in <module>
    main()
  File "./bin/unityextract", line 218, in main
    exit(app.run())
  File "./bin/unityextract", line 108, in run
    self.handle_asset(asset)
  File "./bin/unityextract", line 134, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Users\Daedin\AppData\Local\Programs\Python\Python37\lib\site-packages\unitypack\asset.py", line 84, in objects
    self.load()
  File "C:\Users\Daedin\AppData\Local\Programs\Python\Python37\lib\site-packages\unitypack\asset.py", line 110, in load
    self.tree.load(buf)
  File "C:\Users\Daedin\AppData\Local\Programs\Python\Python37\lib\site-packages\unitypack\type.py", line 117, in load
    self.target_platform = RuntimePlatform(buf.read_uint())
  File "C:\Users\Daedin\AppData\Local\Programs\Python\Python37\lib\enum.py", line 310, in __call__
    return cls.__new__(cls, value)
  File "C:\Users\Daedin\AppData\Local\Programs\Python\Python37\lib\enum.py", line 564, in __new__
    raise exc
  File "C:\Users\Daedin\AppData\Local\Programs\Python\Python37\lib\enum.py", line 548, in __new__
    result = cls._missing_(value)
  File "C:\Users\Daedin\AppData\Local\Programs\Python\Python37\lib\enum.py", line 577, in _missing_
    raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 1056964608 is not a valid RuntimePlatform

Do you know what could be the cause?

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

1 participant