Search Issue Tracker
In Progress
Fixed in 6000.1.0b15
Fix In Review for 6000.0.47f1, 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
- "Create Empty Child" Option Creates Root Object When No Parent Is Selected
- Freeze/Crash when entering Play Mode in a specific project
- Lack of documentation regarding VFX Ray Tracing support
- Shader properties do not appear on the GameObject when switching ShaderGraphs during runtime in the Player
- Multiple '-' symbols are allowed to appear in a row when inputting '.' into a non-decimal numeric field
Resolution Note (fix version 6000.1.0b15):
Fix for this issue is available on Unity 6000.1.0b15 and above