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
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
- Camera is not overlooking the main Scene in Scene View in the HDRP Sample Template
- TextShadow properties are not applied when displayed in a custom MenuItem Window
- Memory leak occurs when focused on Player while using Direct3D12
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.