Search Issue Tracker

Feature Request

Feature Request in 2023.1.X

Votes

0

Found in

2020.3.37f1

2021.3.8f1

2022.1.13f1

2022.2.0b4

2023.1.0a5

Issue ID

UUM-11314

Regression

No

LocalizedString args added in code are sometimes serialized to their ScriptableObject reference

Serialization

-

How to reproduce:
1. Open the user-attached project
2. Activate PlasticSCM Version Control and Check-in
3. Open {{Assets/Scenes/SampleScene.unity}}
4. Select {{Assets/ScriptableObjects/SpellModels/Fireball.asset}}
5. In the Inspector expand the Description field (Note the Local Variables table)
6. Enter Play Mode
7. In the Game View select from the Dropdown tab the “Fireball” selection
8. Stop Play Mode
9. Save the Project ( or make any change and save)
10. Check-in Changes

Expected result: The Local Variables field does not get serialized and saved in Version Control
Actual result: After leaving Play Mode, the Local Variables field gets serialized and if any change is made to the file, the field gets saved in Version Control

Reproducible with: 2020.3.37f1, 2021.3.8f1, 2022.1.13f1, 2022.2.0b4, 2023.1.0a5

Reproduced on: macOS Monterey 12.0.1

  1. Resolution Note:

    This would be to change the behaviour of entering/exiting playmode to backup/restore asset which would come with significant time.

  2. Resolution Note (2023.1.X):

    This would be to change the behaviour of entering/exiting playmode to backup/restore asset which would come with significant time.

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.