Search Issue Tracker
Fixed in 5.3.4
Votes
24
Found in
5.3.0f4
Issue ID
753846
Regression
Yes
[Physics][Rigidbody]OnTriggerExit/Enter triggered excessively when switching Is Kinematic on/off
Reproduction steps:
1) Open project(TestTestTest), proceed to test scene and go into play mode.
2) In hierarchy select the cube and under its rigidbody component turn "Is Kinematic" on and off.
Actual result: "DetectionZone" object fires OnTriggerExit/Enter methods.(See attached gif.)
Expected result: OnTriggerExit should not get called, OnTriggerEnter shoul only be called when switching "Is Kinematic" off.
Note: in 5.2 only OnTriggerEnter gets triggered every time when you change the state of "Is Kinematic"
Reproduced with: 5.3.0b1, 5.3.0f4, 5.4.0a6.
Did not reproduce with: 5.2.3f1, 5.2.2p4 (OnTriggerExit did not reproduce / OnTriggerEnter did).
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Teku-Studios
Jan 15, 2016 09:15
Man, not even commenting on an issue ticket do the Playtonic guys lose their humour xD
PlaytonicGav
Jan 07, 2016 10:56
The fate of the dialogue/challenge system in Yooka-Laylee is at stake with this one - talking to an NPC causes the game to think you've left the challenge. No challenge win = no pagie = no stopping the bad guy = Yooka and Laylee getting bored, giving up on their quest and having to go on benefits for the rest of their lives! Won't SOMEBODY think of the video game characters benefits system!? It's a fragile economy at the best of times!
IronDuke
Dec 14, 2015 23:35
I hope this one gets attention fast - I upgraded my pinball project to 5.3 and BAM! Things get messy in some grab-hold-toss type tunnels.
In my case, setting IsKinematic on/off seems to fire OnTriggerExit, which is causing some of my stuff to loop. That's wrong, since my usage of OnTriggerExit was to prevent looping. o_O
I can continue working on other aspects of my project in the meantime, but of course it can't be released till this is fixed.
--IronDuke