2D Toolkit Forum

2D Toolkit => Support => Topic started by: dbanfield on November 17, 2013, 06:55:29 pm

Title: Unity 2D OnCollisionStay2D bug found?
Post by: dbanfield on November 17, 2013, 06:55:29 pm
Hi,
I'm pretty sure I found a bug in the new unity 2d collision system. Posting here first though to clarify, as I found it using the 2d toolkit tile map system.

To reproduce:



If you could please take a look and clarify whether or not I'm missing some blindingly obvious thing, but it seems pretty clear cut. If there is a problem, can file a bug with unity.

Thanks
Dan

Edit: Removed attachment, please only post attachments in the private support forums.
Title: Re: Unity 2D OnCollisionStay2D bug found?
Post by: unikronsoftware on November 17, 2013, 08:02:26 pm
Yup, that looks very clear cut. If you were going to submit this to Unity, I strongly recommend removing all the tk2d stuff so they don't try to shift the blame - I've tried it, you can reproduce this with a box and a hand drawn edge collider in the same L shape you have there.
Title: Re: Unity 2D OnCollisionStay2D bug found?
Post by: dbanfield on November 17, 2013, 08:39:08 pm
Thanks for the confirmation. Took your advice and modified the project to not include 2dtoolkit. Bug submitted - was expecting a confirmation email with a link to the issue as the FAQ describes but nothing yet. Will post it here when it comes through in case anyone's interested.
Title: Re: Unity 2D OnCollisionStay2D bug found?
Post by: dbanfield on November 17, 2013, 08:52:18 pm
http://fogbugz.unity3d.com/default.asp?576152_10i8aa5d0rhfj0a8