-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Describe the bug
When attempting to preview a Sprite asset from a Unity 6 bundle, the application throws an ArgumentException regarding cropRectangle. Additionally, the source Texture2D assets are not being decoded correctly, appearing as scrambled "puzzle pieces." This indicates a potential serialization or tiling issue with this specific Unity version's texture format.
To Reproduce
- Open AssetStudio.GUI.exe (v2.4.0).
- Load the bundle file:
yuki.bundle. - Switch to the Asset List tab and filter by Type: Sprite.
- Click on a Sprite (e.g., Sprite ID 19) to preview it.
- Observed Error: The Log window shows
Crop rectangle should be smaller than the source bounds. - Observed Texture: The corresponding
Texture2Dappears scrambled/tiled incorrectly.
Expected behavior
The Texture2D should be decoded properly, and the Sprite should be correctly cropped and displayed in the preview pane without errors.
Screenshots
2. Scrambled Texture (Decoding Issue)

Version
v2.4.0 (Multi-threaded)
Unity Version
6000.0.48f1
Sample
- Game Name: 魔法少女ノ魔女裁判 (Magical Girl Witch Trial)
- Sample File: yuki.bundle (Google Drive)
Additional context
- Stack Trace: The error occurs at
AssetStudio.Utility\SpriteHelper.cs:line 55within theCutImagemethod. - Analysis: The
Crop rectangleerror appears to be a secondary symptom. Since the sourceTexture2Dis not being reconstructed correctly (as seen in the "puzzle" effect), the metadata or UV coordinates are likely being misinterpreted by the current Unity 6 parser. - Environment: This is a Unity 6 (6000.x) project using Naninovel assets.
This issue was drafted with the assistance of Gemini (AI thought partner).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
