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
- [Android] Error "Blitter is already initialized" is present when Adaptive Probe Volumes are used with OpenGLES3
- VFX Graph effect instance stops rendering when a second instance of the same effect starts 2 frames later
- Operations on the Color32 array are not reflected in WebGL Player when HDR is off
- Rigidbody moves away from the original GameObject when Center of Mass is set in every frame
- WebGL Player does not proceed beyond logo screen when "Target WebAssembly 2023" is enabled
Add comment