Search Issue Tracker
Third Party Issue
Votes
0
Found in
2021.3.23f1
2022.2.16f1
2023.1.0a11
2023.1.0b12
Issue ID
UUM-33653
Regression
No
Script doesn't execute when entering the Play Mode until the GameObject with the Script Component is selected in the Hierarchy window
Reproduction steps:
1. Open the attached “3D tile.zip” project
2. Open the “Assets/Scenes/Level-1.unity” Scene
3. Enter the Play Mode
4. Observe the Game View
5. Select the “Path” GameObject located under the “TrackWrapper” GameObject in the Hierarchy widow
6. Observe the Game View
Expected result: The “Path Creator” Script is active and running once in the Play Mode
Actual result: The “Path Creator” Script only becomes active and execute once the “Path” GameObject has been selected
Reproducible with: 2021.3.23f1, 2022.2.16f1, 2023.1.0b12, 2023.2.0a11
Couldn’t test with: 2020.3.47f1 (Script errors)
Reproducible on: Windows 10 Pro (22H2)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
This seems to be a user-code issue: the only code paths awaking the PathCreator come from the PathSceneToolEditor object. So until this object is created (by inspecting the Path game object) nothing happens.