• Unity
  • [Unity] Bone Follower problem after Unity update (5.0.1>5.1)

I have got problem with Bone Follower Component.

Spear after hitting collider (with Bone Follower Component) was attached as child to this collider [Bullet(Clone)].


Which looked like (5.0.1):

After update to 5.1 or 5.1.1. it looks like this:

Now spear is not moving with bone, but in different way. I have no idea where is the problem :/

Related Discussions
...
  • Изменено

Oooo I love regressions... not... will look into it.

Thank you :-)

Ermm, are you using the most updated unity runtimes?

I have been using this website: https://github.com/EsotericSoftware/spine-runtimes/tree/master/spine-unity

I downloaded zip file from: https://github.com/EsotericSoftware/spine-runtimes/archive/master.zip and followed steps from Manual Installation

Manual installation
You can also choose to setup and run from the Git files:

  1. Download the Spine Runtimes source using git or by downloading it as a zip.
  2. Copy the contents of spine-csharp/src to Assets/spine-csharp in your Unity project directory.
  3. Copy the spine-unity/Assets/spine-unity to Assets/spine-unity in your Unity project directory.

hmm, are you 100% sure it didn't just mess with a sprite Pivot point or something along those lines because Unity updated? it looks like the blood is still coming from the right place

I have found the problem. I have got Rigidbody2D attached to spear. In this project I use my own physics, but I need Rigidbody2D for collision detection.

When object does not have any Rigidbody2D component attached, Bone Follower works as usual. However, when Rigidbody2D is attached strange stuff is happening.

After hit I simply destroy the component.

Destroy(GetComponent<Rigidbody2D>());

Thank you for your help Mitch.