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
- Incorrect rotations on bones when importing FBX animations with a Humanoid Rig
- Render Graph Viewer “Pass List” section is flickering when resizing vertically and the Render Graph Viewer window is docked
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
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.