Search Issue Tracker
Not Reproducible
Votes
1
Found in
2017.3.1f1
Issue ID
1020044
Regression
No
Trigger calls OnTriggerEnter and OnTriggerExit events while continuously colliding with other Collider on a Character Joint
How to reproduce:
1. Open user's attached project "BugScenario"
2. Enter Game mode
3. Press "space" key once
Expected result: the door will turn 120 degrees and enter trigger, starting to call OnTriggerStay continuously
Actual result: the door enters trigger as expected but continuously calls OnTriggerEnter and OnTriggerExit instead of OnTirggerStay
Reproduced with: 5.6.5p3, 2017.1.3p3, 2017.2.2p3, 2017.3.2f1, 2017.4.1f1, 2018.1.0b13, 2018.2.0a7
Note: the problem seems to be created inside "door.cs" line 82 where every frame RigidBody rotation is set to (previous rotation * rotation delta). Also after setting RigidBody to Continuous or Continuous Dynamic Collision Detection, it seems to trigger all three Trigger events (OnTriggerEnter, OnTriggerExit, OnTriggerStay).
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
- D3D12 PSO disk cache feature crashes if paths contain non-ASCII characters
Add comment