Search Issue Tracker

In Progress

Fix In Review for 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

6000.0.45f1

6000.1.0b12

6000.2.0a7

Issue ID

UUM-101609

Regression

No

Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor

-

How to reproduce:
1. Create and open a new project
2. Import the attached “PNG_test” image
3. Select the imported image in the Project tab
4. In the Inspector change Texture Type property to "Sprite (2D and UI)", and Sprite Mode property to "Single"
5. Open Sprite Editor through the Inspector
6. In the top left corner of the Sprite Editor window, select "Custom Physics Shape" from the drop down menu
7. Click on the image inside the Sprite Editor window, in order to see the outlines
8. In the bottom left of the window, set Alpha Tolerance to ‘0' and Outline Detail to '1’
9. Generate outline by pressing “Generate” button
10. Observe outlines in the Sprite Editor window
11. Set Alpha Tolerance to “254” and press the Generate button
12. Observe outlines in the Sprite Editor window

Expected result: Generated outlines are different
Actual result: Generated outlines are exactly the same

Reproducible with: 2023.2.0a17, 6000.0.45f1, 6000.1.0b12, 6000.2.0a7
Couldn’t test with: 2022.3.60f1, 2023.2.0a16 (Alpha Tolerance slider not introduced)

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Workaround:
1. Generate preferred outline with Custom Outline module
2. Copy the outline with the Copy button in the Outline Tool window
3. Swap to Custom Physics Shape module
4. Paste the outline with the Paste button in the Outline Tool window

Note: Generated outlines are consistent across all versions (with and without Alpha Tolerance slider)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.