Search Issue Tracker
Fixed in 5.0.X
Votes
1
Found in
4.5.0f6
Issue ID
611563
Regression
No
OnTriggerEnter2D is called multiple times when gameobject with active Animator component hits trigger
To reproduce:
1. Open scene 'Colliderwithbug'
2. Play the scene
3. Hit space bar several times
4. Watch console when moving object hits and exits trigger. OnTriggerEnter2D gets called multiple times and OnTriggerExit2D never gets called
5. Stop scene
6. Select game object 'MovingObjectWithBug' and disable animator
7. Play the scene
8. Hit space bar several times
9. Watch console when moving object hits and exits trigger. OnTriggerEnter2D is called once object hits trigger and OnTriggerExit2D is called when object exits trigger
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment