Search Issue Tracker
Fixed
Fixed in 6000.0.47f1, 6000.1.0b15, 6000.2.0a9
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)
Comments (1)
-
akasurreal
Apr 01, 2025 17:34
I mentioned this in the original report, but I am curious if there's a way we could apply a global or per sprite alpha tolerance setting for the auto-generated physics shapes for sprites as well. Not talking about the ones created in sprite editor, but just the ones created from having the checkbox on the sprite to auto-generate a physics object. Whatever the default setting is, does not work well for many of my sprites, so then I have to go manually create them in sprite editor, Issue is that I have 1000+ sprites.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Resolution Note (fix version 6000.2.0a9):
Fix for this issue is available on Unity 6000.2.0a9 and above
Resolution Note (fix version 6000.1.0b15):
Fix for this issue is available on Unity 6000.1.0b15 and above
Resolution Note (fix version 6000.0.47f1):
Fix for this issue is available on Unity 6000.0.47f1 and above