Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.3.30f1
2021.2.14f1
2022.1.0b10
2022.2.0a7
2023.1.0a1
2023.2.0a1
Issue ID
UUM-3430
Regression
No
SettingsProvider.OnGUI API is called after OnDeactivate when exiting the Play Mode
How to reproduce:
1. Open the user's attached "SettingsProviderBug" project
2. Open the "Edit -> Project Settings-> Test" window from the menu
3. Enter the Play Mode in the "SampleScene" Scene
4. Exit from the Play Mode
Expected result: Only the OnDeactivate method is invoked when exiting the Play Mode
Actual result: When exiting the Play Mode, SettingsProvider methods are invoked in the following order: four times OnGUI() is invoked, then OnDeactivate() and OnActivate()
Reproducible with: 2019.4.36f1, 2020.3.30f1, 2021.2.14f1, 2022.1.0b10, 2022.2.0a7
Note: The issue is troublesome when setting up/releasing resources that are expected to be available in the OnGUI() method
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Resolution Note:
Thank you for bringing this issue to our attention. After careful consideration, we have determined that other higher-priority issues should take precedence, and we have decided not to address your issue at this time. The priority level is determined by factors such as the severity and frequency of an issue and the number of users affected by it. We appreciate your input and understanding, and please let us know if you have any other concerns or issues you would like to report in the future.