Search Issue Tracker
Fixed in 4.5.X
Votes
0
Found in
4.6.0b9
Issue ID
608060
Regression
Yes
OnTriggerStay2D gets called only when enabling Rigidbody2D.isKinematic while the moving object is inside the idle one
Steps to reproduce:
1. Open the scene 'Test'
2. Press play
3. Observe that although the moving object has the 3 "OnTrigger*2D" methods, only OnTriggerEnter2D and OnTriggerExit2D are called. BUT if the user toggles "Idle Object"'s Rigidbody2D.isKinematic while the moving object is inside the idle one, OnTriggerStay2D is called but just for a brief moment. Toggling it repeats the behavior no matter if it's kinematic or not.
Using either transform.position, rigidbody2d.moveposition or rigidbody2d.addforce moving method produce the same result.
See the video user attached illustrating the issue: http://screencast.com/t/FW3VdXI3K
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
Add comment