I reported a couple of HingeJoint bugs which appeared after upgrading from 5.1 to 5.2:
(Case 720398) Physics: HingeJoint.motor no longer accepts a negative JointMotor.targetVelocity
(Case 720408) Physics: HingeJoint.angle is always a positive/abs value
I was notified on Aug 26 that these issues were fixed in 5.3 and would be backported to 5.2. As of 5.2.0p1 and 5.2.1f1, the fixes have not yet been backported. Is there any ETA for 5.2 receiving these fixes?
The 5.2.2p2 patch that was released a few days ago addresses these bugs. I haven’t fully tested it to check if everything is actually fixed, I’m just looking at the release notes. You may want to try the patch release and find out for sure: Download Archive
It should be the bugs that you described in your OP that got fixed in 5.2.2p2.
Let me know if you guys are blocked by something else that’s fixed in the 5.3 betas.
Ironically, these bugs getting fixed in 5.2 at this point is actually worse for us. Since I was unable to get any info from Unity about an ETA and we were nearing the end of the project, I already spent a couple days implementing a project-wide workaround. The workaround is not compatible with properly functioning hinge joints, so our hinges are again not working in 5.2.2p2+. I’ll need to spend about a day removing the workaround from the project and hope the fixes are perfect. All in all, about three days that should have been spent on other areas that will now go unfixed/unfinished in the game.
If we had received even the slightest bit of info, even something like, “we hope to back port the fixes into 5.2 some time between patch xxx and yyy” that would have been a huge help. I guess that is my primary feedback-- for projects that are anywhere near the end of their dev cycle, information (or lack thereof) about upcoming bug fixes can be quite critical in influencing outcomes.
Anyway, this is great news for everyone who is on 5.2. We appreciate the fixes, Morten! I would just love to see more communication sometimes.
BTW if anyone hasn’t seen Morten’s presentation from Unite 2015 on some of Unity’s physics systems, you should definitely watch it, it’s great:
@LeonH there are several good reason why we chose to put the fixes in 5.2, sorry if it created critical issues for you. I can list the reasoning if you want.
But what I think is more interesting is how we (Unity) become better at this in the future. Because we will definitely port other fixes back, which will require tune-ups in the game using the specific features.
Should we have like a yellow warning section in the patch notes with “breaking changes”? We basically have that for the non-patch releases.
What do you have in mind that can lessen the surprise?