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
- Custom attribute type is not preserved when inserting a template to the VFX
- InspectorElement and AnimationMode memory leak when selecting different GameObjects in the Hierarchy with the Inspector tab open
- Previous model to world matrix is not correctly set for ASW
- More calls are made to GC.Alloc in an HDRP Sample Template when compared to the 2022.3 stream
- Generating Light Probe lighting returns inconsistent results on a specific mesh
Add comment