• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Jay-Pavlina · Feb 18, 2012 at 03:23 AM · collisionbugontriggerenteroncollisionenter

Delayed Collisions Bug (includes video demonstration)

A video explanation of this bug can be found here.

There appears to be a serious flaw in Unity related to when collisions are triggered. Both OnCollisionEnter and OnTriggerEnter are called on the frame after the objects intersect. This seems to happen with every collision in Unity and is more noticeable when objects are moving quickly because you will see the object clip through the object it hits before the collision occurs. I was surprised this has not been mentioned much because it's one of the first things I noticed when I started working with Unity.

Please help me out with this one. If you believe it's a bug, submit a bug report in Unity so that it will be fixed. I already submitted a bug, but more reports will help it to get fixed faster. The reason I posted this was to confirm that it's a bug and that I'm not just doing something wrong. Does this appear to be a bug to you? Thanks.

Comment
Add comment · Show 7
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Berenger · Feb 18, 2012 at 05:26 AM 0
Share

Well, sounds like you're right ! Can't believe I never noticed that. For one second I thought it could be print waiting the next frame, but accessing a null reference does send the error at the same time as well. Not to be pessimistic, but that guy didn't have any success.

avatar image Jay-Pavlina · Feb 18, 2012 at 05:50 AM 0
Share

Yeah that was one of the few posts I've seen mention it. I thought if I included a video it might get more attention. If a lot of people contact Unity about it they're more likely to address it.

avatar image Berenger · Feb 18, 2012 at 05:52 AM 0
Share

I couldn't send a report, I think it's because there was some log missing :/

avatar image Jay-Pavlina · Feb 18, 2012 at 07:21 AM 0
Share

It's supposed to send your project file when you report a bug so that they can reproduce it. Not sure why it wouldn't work though.

avatar image Berenger · Feb 20, 2012 at 02:14 AM 0
Share

Any news about that ?

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Jay-Pavlina · Feb 29, 2012 at 03:43 AM

Unity responded to my bug report and said that they are sending it to the developers to be fixed. So it was a bug, and it's being fixed. Yay.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to detect collision without OnCollisionEnter or OnTriggerEnter? 1 Answer

OnCollisionEnter2D not being called on entering new tile once already called. 1 Answer

OnTriggerEnter do not triggers 1 Answer

Colliding two GameObjects 1 Answer

OnTrigger functions only work when in motion? 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges