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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Resolution Note (fix version 1.4.2):
fixed in 190d83e.
PR : https://github.cds.internal.unity3d.com/unity/com.unity.localization/pull/423