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
- Sprite Importer Checkbox Label Truncated in UI (2D Template)
- Light theme icon is missing for Volume Component in the Inspector window
- Volume Profile effects are still showing and active in Game View when the Volume Profile is reset
- Shader Graph Tab Lacks Right Margin for Long Titles
- 2DLight component only renders when ShadowCaster2D components are within range in WebGL builds
Add comment