Moving the parent of a Kinematic Rigidbody with any interpolation during Play Mode will affect it’s local position which did not occur in previous versions of Unity. I’ve attached a project that will reproduce this behavior.
My solution when I made this post was simply disabling interpolation whenever I parented a rigidbody to anything. I recently came across this issue again when I was refactoring and accidentally removed the code that was meant to ‘fix’ the issue.
I have recently encountered this as well. It’s very strange since, at least for me, it only occurred about 50% of the time when loading up the project… at first I resorted to restart editor and/or PC which often worked, but not always so this was clearly an unreliable solution.
Without changing anything else in the scene, 50% of the time I loaded the project my player character (with rigidbody / interpolated) would refuse to follow the vehicle (which also has a rigid body / interpolated) when “entering” vehicle, aka parenting player to vehicle and setting IsKinematic to true for the player rigid… it was baffling that sometimes everything would work perfectly, and other times it would entirely break. Wasted a lot of time pouring over my code which was apparently all working fine.
Thanks to you good souls in this thread, I seem to have fixed the issue by turning interpolation off for the player when it is parented to the vehicle, then re-enabling upon exit / unparenting. This worked immediately when implemented even without restarting unity.
I’m glad the fix was not difficult, but it seems like the engine should be smart enough to avoid this issue without the user needing to hunt down a solution.
Edit: Just wanted to mention I’m using Unity 6 (6000.0.41f1).
I think I just encountered this issue. I had an animal character with a separate arm object that I wanted to be able to move to push rigidbody objects around. So I made the arm a rigidbody and set it Kinematic since I would be moving it. The arm of course was attached as a child of the parent animal object. This worked fine until I turned on interpolation for the arm, after which suddenly the arm acted like it was no longer properly attached to the parent object; the arm would lag behind the parent (the arm would only move maybe half as far as the parent when the parent was moved). Problem was gone again after turning interpolation back off.
Is this the same issue? Sounds like it to me. I’m just leaving interpolation off.