sr4dev / Unity-SpriteAssist

Unity Sprite mesh extension
https://github.com/sr4dev/Unity-SpriteAssist
233 stars 29 forks source link

Preview windows on wide or tall sprites #52

Closed Gasparfx closed 1 year ago

Gasparfx commented 1 year ago

Hi! I have a bug with preview window on very wide or tall sprites. It only reproduces when preview window is small enough(I think that windows size should be smaller than sprite dimension). Here are some screenshots: Good: image

Bad: image

Image to reproduce: Example.zip

My Unity version is 2022.2.3f1, but i think it can be reproduced on any 2022.2 Unity.

sr4dev commented 1 year ago

image Sprite Assist doesn't change the preview image. It's a Unity bug. I reproduced this bug without Sprite Assist.

Gasparfx commented 1 year ago

Thank you for the reply. Looks like we need to report this to Unity)

sr4dev commented 1 year ago

@Gasparfx I have also received reports of this bug from other users, and it appears to be a reoccurrence of a bug that has happened in the past: https://issuetracker.unity3d.com/issues/sprite-preview-window-loses-pixels-and-the-sprites-are-indistinguishable-when-the-sprite-is-either-too-tall-or-too-wide

Unity doesn't seem to be aware of this situation, so I've opened a bug report and requested a fix.

sr4dev commented 1 year ago

My bug report is confirmed.

https://issuetracker.unity3d.com/issues/sprite-preview-is-broken-when-the-sprite-is-too-tall-or-too-wide

sr4dev commented 1 year ago

Fixed

https://issuetracker.unity3d.com/issues/sprite-preview-is-broken-when-the-sprite-is-too-tall-or-too-wide