Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2021.2
Issue ID
1344958
Regression
No
CustomCollider2D doesn't use the Collider2D.Offset property for its PhysicsShape2D.
Reproduction steps:
1. Open the attached project "CustomColliderOffset.zip"
2. Open the "SampleScene" scene
3. Select the "CustomShape" GameObject
4. Adjust the "Offset" property on the "CustomCollider2D" component
Expected result: All the shapes in both the Game/Scene views moves with the offset
Actual result: The shapes do not move with the offset
NOTE: There is an additional minor and cosmetic issue that is also fixed under this bug report because it didn't really justify the additional overhead of a full bug report. If you notice in the screenshot attached, the Polygon Shape isn't the correct color (it's purple and not green). This is due to some specific issue when drawing the previous shape in the test project (Edge shape). This has also been fixed as can be verified by seeing all shapes are drawn in the gizmo colour (green).
Reproducible with: 2021.2.0b1, 2022.1.0a1
Not reproducible with: Feature landed in 2021.2.0b1
Reproducible with: All Editors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Ligtmaps disappear when entering the Play Mode
- [Vulkan] [Android] Visual corruption is visible on some Android devices in the Player when Depth Of Field is enabled in Global Volume and the Vulkan Graphics API is selected
- An image bleeds out of the borders of a Mask when the project is opened with the iOS Build Support module
- Shadows do not appear on the Material with a custom shader which uses screen space shadow map in HDRP when Ray Traced Shadows are enabled
- An emoji is not shown in the UI Builder Viewport and the Game view when it is placed in the Labels text attribute and Usage Hints is set to Dynamic Color
Add comment