Search Issue Tracker
Fixed in 5.5.0
Votes
5
Found in
5.4.0b11
Issue ID
783968
Regression
No
Setting CharacterController.center wil trigger OnTriggerEnter/OnTriggerExit callbacks
Steps to reproduce:
1. Open attached project "783968.zip"
2. Open scene "TriggerTest/trigger"
3. Run it
4. Press "Adjust" button, which is found in Game tab. this will start coroutine which sets CharacterController.center = CharacterController.center
5. In console, notice multiple messages that OnTriggerEnter/OnTriggerExit is called
Note: This doesn't happen if using rigidbody+collider and setting center of that collider.
Reproduced with: 5.2.4f1, 5.3.4p1, 5.4.0b12
Comments (5)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
ScottyB
Jul 08, 2016 01:38
Any chance of getting this fix backported to 5.3.x?
Ghosthowl
Jun 21, 2016 00:34
Edit: Still happening in 5.4.0b22.
Again, what version was this supposed to be fixed in, some upcoming internal version? I would really like to know, this completely breaks a large portion of my game.
Ghosthowl
Jun 17, 2016 01:38
What version was this bug fixed in? I am currently still experiencing this in 5.4.0b21. Desperately need a fix for this for my games crouching mechanic.
kenny1007
Apr 20, 2016 16:15
The issue can be clearly seen here: https://www.youtube.com/watch?v=rOBP_uODnJA
kenny1007
Apr 20, 2016 15:19
Lets go guys. This is a game breaking issues that's been around for years now. We need Unity to finally get this fixed.