Code
import UnityPy
env = UnityPy.load("live_note_default")
for path, obj in env.container.items():
print(path, obj.type)
Error
N/A
Bug
Seems like the Sprite-Texture2D merging is performed in the wrong direction.
Four Sprite in the sample: notes_crtcl, notes_flick, notes_long and notes_normal, all based on the Texture2D notes. (let's ignore the rest of the items here)
I'm expecting all four Sprites in the output, but UnityPy only gives me one Sprite named notes.
Also a tiny bug, too lazy for a separate issue: 1.7.3 breaks str(obj.type), now all items are UnknownType.
To Reproduce
- a copy of the file that causes the problem
live_note_default.zip (unzip it and you should get an asset bundle file)
- following data:
- Python version 3.7.3
- UnityPy version 1.7.2
Code
Error
N/A
Bug
Seems like the Sprite-Texture2D merging is performed in the wrong direction.
Four
Spritein the sample:notes_crtcl,notes_flick,notes_longandnotes_normal, all based on theTexture2Dnotes. (let's ignore the rest of the items here)I'm expecting all four
Sprites in the output, but UnityPy only gives me oneSpritenamednotes.Also a tiny bug, too lazy for a separate issue: 1.7.3 breaks
str(obj.type), now all items areUnknownType.To Reproduce
live_note_default.zip (unzip it and you should get an asset bundle file)