Search Issue Tracker
Fixed
Votes
0
Found in
4.3.0b5
Issue ID
568376
Regression
No
Physics. Inconsistency between 3D and 2D physics. Setting negative mass for rigidbody2D doesn't produce any warnings
Steps:
1. Create an object
2. Add Rigidbody2D to this object.
3. Add custom script in which mass of the object is changed to negative value
gameObject.rigidbody.mass = -1;
When you play the scene there will be no error or warning messages.
For Rigidbody in the same situation you'll get an error:
Body::setMass: mass is -1.000000, should be positive!
UnityEngine.Rigidbody:set_mass(Single)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment