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
- Default Value of ShaderGraph Color property is 0 by default
- Duplication of an asset in the Project view is continued for some time when holding and releasing CTRL+D
- "Failed to create Convex Mesh from source mesh" PhysX errors are thrown when looking around the Scene View while Collision Geometry is set to true
- ScrollView is not taking Into account header height when handling mouse wheel scrolling in MultiColumnTreeView
- Build fails with "Shader error in 'BK/StandardLayered" when using a custom shader
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.