Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

Votes

0

Found in

2021.3.43f1

2022.3.44f1

6000.0.17f1

Issue ID

UUM-79238

Regression

No

Visibility toggle is not respected in the Hierarchy when exiting Play Mode

--

-

How to reproduce:
1. Open the attached "IN-81793" project
2. Open the "Level 1" Scene
3. In the Scene Hierarchy, locate any parent GameObject and disable its visibility in Scene View via the Visibility toggle in the Hierarchy
4. Enter and exit Play Mode
5. Observe the Scene Hierarchy window

Expected result: Visibility toggle state persists between Play mode instances
Actual result: Visibility toggle gets reset when exiting Play mode, additionally, the Active Scene in the Hierarchy still indicates that the Scene has objects set to be invisible after such reset even if affected objects are no longer invisible

Reproducible in: 2021.3.43f1, 2022.3.44f1, 6000.0.17f1

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:

* Depending on the Editor version, the visibility toggle gets reset as soon as the user enters Play Mode (2021.3.43f1) or only after the user enters and exits Play Mode (2022.3.44f1 and 6000.0.17f1)
* After the visibility toggle gets reset, the GameObject that was previously toggled invisible in the Hierarchy cannot be set to invisible again directly. Only after interacting with the Scene Visibility toggle or another GameObject that has not been previously interacted with does the GameObject toggle become visible again and can be interacted with.

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.