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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.