Search Issue Tracker

Fixed

Fixed in 1.5.x

Votes

0

Found in [Package]

1.5.4

Issue ID

LOC-1188

Regression

Yes

InvalidOperationException thrown and script is permanently collapsed when the file contains a serialized IntVariable

Package: Localization Package

-

How to reproduce:

1. Open the project “IN-89805_LocalizationProblem”
2. In the Hierarchy, click on the “GameManager” GameObject
3. In the Inspector, expand the “Script Including Localization (Script)”
4. Observe the Inspector

Expected result: The Inspector expands the script file with the fields listed
Actual result: The script is not expanded, and no fields are visible

Reproducible with: 2022.1.0a5, 2022.3.55f1, 6000.0.36f1, 6000.1.0b4, 6000.2.0a1
Not reproducible with: 2021.3.48f1

Could not test with: 2022.1.0a1, 2022.1.0a4 (Errors related to the Localization and Addressables package dependencies)

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

Notes:

* The {{IntVariable}} seems to be not serializable. Hence the {{public}} or {{[SerializableField]}} attributes cause problems when used with the {{.IntVariable}} class

Comments (1)

  1. jordanalejandrotuyualeman

    Jan 29, 2025 13:34

    😍😍😍😍😍😍😍😍😍😍😍😍

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.