Search Issue Tracker
Fixed in 4.3.X
Votes
0
Found in
4.3.0b3
Issue ID
565314
Regression
No
SpringJoint2D sets 'frequency' to 0 and 'dampingRatio' to 1 when changing values via script
SpringJoint2D sets 'frequency' to 0 and 'dampingRatio' to 1 when changing values via script. For example in my script included in this folder, I try to set 'frequency' to 2 and 'dampingRatio' to 0.1 but the values which actually appear are 'frequency = 0' and 'dampingRatio = 1'.
1 Create new project
2 Drag scene "Spring2D_Bug" and script "SpringCheckr" to project (from attached folder)
3 Open scene "Spring2D_Bug", select Main camera in Hierarchy and attach script "SpringCheckr" to it
4 Press play and select Cube (that has Spring Joint 2D element) - notice that 'frequency = 0' and 'dampingRatio = 1' but should be 'frequency'=2 and 'dampingRatio'=0.1 according to script "SpringCheckr"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment