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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment