Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
45
Found in
2020.3.1f1
2021.1.0a10
2021.2
Issue ID
1323883
Regression
Yes
OnTriggerEnter gets called after reparenting a RigidBody
How to reproduce:
1. Open the user's attached project
2. Open the 'main' Scene
3. In the Hierarchy select the 'solid' GameObject
4. In the Inspector enable the 'Allow Reparent' checkbox (located under the Solid component)
5. Enter the Play mode
6. Observe the Console
Expected result: OnTriggerEnter and OnTriggerExit messages get logged only when the Sphere enters and exits the trigger volume at each end
Actual result: The OnTriggerEnter message gets logged constantly
Reproducible with: 2020.3.1f1, 2020.3.2f1, 2021.1.0a10, 2021.2.0a10
Not reproducible with: 2018.4.33f1, 2019.4.24f1, 2020.2.7f1, 2020.3.0f1, 2021.1.0a9
Comments (11)
-
big_3
Apr 08, 2021 15:28
In addition I have the problem, that OnTriggerExit sometimes is not called in this scenario (reparenting).
Will this be addressed as well?
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
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
- SpriteShapeController.OnWillRenderObject() is ~20 ms when using SpriteShapeController.BakeMesh() and never updating the spline
- Editor freezes briefly when "multi-selecting" TextMeshPro GameObjects In the Hierarchy window in Prefab Mode, if 5 or more Inspector windows are open
- OnEndDrag event not triggered when losing Editor focus during simultaneous Left and Right mouse drag
- Texture displays visual artifacts and has a broken aspect ratio when it is imported in RGB 48-bit format
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a17
Resolution Note (fix version 2021.1):
Fixed in 2021.1.8f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.9f1