Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2020.3.43f1
2021.3.16f1
2022.2.2f1
2023.1.0a24
2023.2.0a1
Issue ID
UUM-21844
Regression
No
"Awake” function is called from the script when loading a Scene with “allowSceneActivation” set to false
How to reproduce:
1. Open the user’s attached “LoadingIssue.zip” project
2. Enter Play Mode and exit Play Mode
3. Observe the Console window
Expected result: “Awake” function is not called and the console window is empty
Actual result: “Awake” function is called and “Scene2.Awake()“ is printed
Reproducible with: 2020.3.43f1, 2021.3.16f1, 2022.2.2f1, 2023.1.0a24
Reproduced on: macOS 12.4 (Intel)
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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Resolution Note:
Deactivated scenes are activated in order to be destroyed. This is why Awake is called, this is not a bug.
Resolution Note (2023.2.X):
Deactivated scenes are activated in order to be destroyed. This is why Awake is called, this is not a bug.