Search Issue Tracker
Fixed in 4.3.X
Votes
0
Found in
4.3.0b5
Issue ID
568374
Regression
No
2D. You cannot input negative values for BoxCollider size from editor, but you can do it from a script
Steps:
1. Create object.
2. Add BoxCollider2D
3. Try to change Size valies to -1
It will automaticaly change it to 1e-5.
You can set negative size from script.
gameObject.GetComponent<BoxCollider2D>().size = -Vector2.one;
And it is inconsistant with 3D colliders, because we can set negative size from Editor.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
Add comment