Search Issue Tracker

Fixed

Fixed in 1.3.2, 1.4.2

Votes

0

Found in [Package]

1.1.0

1.3.2

Issue ID

LOC-550

Regression

Yes

NullReferenceException creating a table that takes name from renamed table

Package: Localization

-

This looks specific to 2022 editor versions, see below. Only occurs if you name the new table with the original name of the renamed table.

Repro:
1. Open attached project.
2. Window -> Asset Management -> Localization Tables.
3. In 'Edit Table Collection', select TestTable.
4. Change the 'Table Collection Name' field to anything.
5. Click 'New Table Collection' Tab. Create a new string table named TestTable. Save it in the Assets folder.

Expected Result: A second table is created.
Actual Result: Causes two issues.
- NullReferenceException appears in console, renamed string table collection gets replaced.
- Closing the Localization Tables window and opening it again gives you a blank window and a different NullReferenceException.

Reproducible in: 2022,2.0a2, 2022.1.0b2, 2022.1.0a7
Not Reproducible in: 2022.1.0a6, 2021.2.7f1, 2020.3.25f1, 2019.4.34f1

Tested with package versions 1.1.0 and 1.0.0.

Notes:
- Deleting the table data and re-opening Localization Tables fixes the second listed issue.
- Didn't try older package versions as it seems to be editor specific. Ping me for further testing if needed.
- The errors are attached in the .txt

  1. Resolution Note (fix version 1.4.2):

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.