K0lb3 / UnityPy

UnityPy is python module that makes it possible to extract/unpack and edit Unity assets
MIT License
761 stars 113 forks source link

Fixed "Exception: String not terminated". #208

Closed AhmedAhmedEG closed 6 months ago

AhmedAhmedEG commented 9 months ago

Fixed a bug that caused using Environment.load() on a folder that contains plain text file independent of it's extension, to cause an "Exception: String not terminated".

K0lb3 commented 9 months ago

Environment.load wants a list of files as input and not a folder. I agree that it's a confusing situation considering the behavior of UnityPy.load.

AhmedAhmedEG commented 9 months ago

I see, normally I just give it the game folder path and all the magic happens.