You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem also occurs with Slipways_Data/resources.assets from the game Slipways.
Error
File "/home/sparr/.local/share/virtualenvs/vgm-extractor-1oHW3IDG/lib/python3.11/site-packages/UnityPy/tools/extractor.py", line 138, in extract_assets
export_obj(
File "/home/sparr/.local/share/virtualenvs/vgm-extractor-1oHW3IDG/lib/python3.11/site-packages/UnityPy/tools/extractor.py", line 69, in export_obj
return export_func(obj, fp, extension)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sparr/.local/share/virtualenvs/vgm-extractor-1oHW3IDG/lib/python3.11/site-packages/UnityPy/tools/extractor.py", line 234, in exportAudioClip
if len(samples) == 0:
^^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()
Bug
The samples here is None about half the time when I try to extract files from this game, and there is no error the other half. There may be a race condition of some sort?
Code
The code in question lives at https://github.com/sparr/vgm-extractor/tree/548abc7d017edfad06dd55170c9a0c7269c56dff but I have not reduced this to a test case yet. I will try to do so when I have a chance.
It is effectively attempting to do this:
This problem also occurs with
Slipways_Data/resources.assets
from the game Slipways.Error
Bug
The
samples
here is None about half the time when I try to extract files from this game, and there is no error the other half. There may be a race condition of some sort?To Reproduce
src/vgm-extractor.py -vvvv -o tmp --rescan --overwrite --steamlibrarypath ~/.steam/steam "Autonauts"
The text was updated successfully, but these errors were encountered: