Search Issue Tracker

Fixed

Fixed in 2022.2.3f1, 2023.1.0a21

Votes

3

Found in

2022.2.0b13

2023.1.0a16

Issue ID

UUM-18045

Regression

Yes

Scene Asset Label disappears when the Scene is saved

--

-

Reproduction steps:
1. Open the attached “IN-20837_min.zip” project
2. Open the “Assets/SuperScience/Runtime/SceneMetadata/Sample2.unity” scene
3. In the Inspector window, observe the Asset Label
4. In the Hierarchy window, click the “Cube” GameObject
5. In the Inspector window, disable the “Cube” GameObject
6. Click “Ctrl + S” to save the scene
7. In the Project window, click “Assets/SuperScience/Runtime/SceneMetadata/Sample2.unity”
8. In the Inspector window, observe the Asset Label

Expected result: The Asset Label “MetadataExample” remains
Actual result: The Asset Label disappears

Reproducible with: 2022.2.0a1, 2022.2.0b13, 2023.1.0a16
Not reproducible with: 2020.3.41f1, 2021.3.12f1, 2022.1.21f1

Reproducible on: Ubuntu 20.04.5, Windows 11 Pro 21H2

Comments (3)

  1. Adrian

    Jan 08, 2023 13:21

    Really annoyed by this bug as well.

    Created a little editor script workaround that re-applies labels after saving scenes. Only downside is that Unity will prompt to reload the scene after saving when the labels are added back.
    https://gist.github.com/sttz/702a9eadb1d2719e419d7d875f016aaf

  2. Qxlbr

    Nov 02, 2022 22:36

    Same here

  3. OndrejP

    Oct 29, 2022 15:02

    This is annoying, we uses labels to filter scenes - this issue makes it unusable.

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.