2D Toolkit Forum
2D Toolkit => Support => Topic started by: Dgizusse on February 17, 2012, 04:53:26 pm
-
Hi,
Since upgrading to Unity3.5, whenever I commit my SpriteCollection, every sprite with a collider that are prefab instances get a second collider.
I've tested with version 1.56 and 1.57beta2.
To reproduce, you can simply load the demo "8 - polygon colliders", create a prefab from a box or spike and then commit the DemoSpriteCollection. The instance in the scene will now have 2 colliders.
Any idea what could cause that and if there's a workaround while waiting for a fix?
Thanks a lot for this great tool, keep up the good work!
-
I am looking into this. Will update when I have a fix for it.
-
This is fixed now - I think its a Unity bug, but what it seems like is when a collider is added to a prefab its adding it to the prefab instance instead. If you can wait a day or two, I will post a new beta with this fix in.
-
Good news!
Thanks a lot!