Search Issue Tracker
Won't Fix
Votes
0
Found in
5.1.0f3
Issue ID
704098
Regression
No
[ExecutionOrder] OnTriggerEnter2D is called before Start if object is instantiated in FixedUpdate
Steps to reproduce:
1. Open attached project
2. Open "Untitled" scene
3. Run it
4. Open console and notice that OnTriggerEnter2D is called before OtherObject.Start()
Note: This only happens if object is instantiated in FixedUpdate. Workaround is to deactivate instantiated game object, use Caroutine to skip one frame and activate it again. It is included in "ObjectWithTrigger.cs" script.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The broken Prefab Variant Variant GameObject remains when its parent Variant is recreated
- NullReferenceException error is thrown when pinging the "Initial Scene" in the Play Mode Scenarios window
- "MaxRpcAgeFrames" NetCode RPC warning is logged when entering Play Mode in the Multiplayer FPS template
- "BatchRendererGroup.OnPerformCulling" is not called during Scene view picking when "HandleUtility.PickGameObject" is passed a non-empty filter
- Crash on RemovedMaskedCurve when opening a project with specific animations
Add comment