Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.
Resolution Note (2023.2.X):
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.