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
- [Android] Performing hardware comparison using "SAMPLE_TEXTURE2D_SHADOW" results in no shadow being rendered when the GameObject is instantiated manually
- Physics.Raycast fails when a Capsule Collider at a default position is used
- [Silicon] Crash on mono_get_hazardous_pointer when disconnecting Bluetooth Headhpones while in Play Mode
- Switching Project when importing complete project does not import all assets and project opens incomplete
- [Linux] Input.mouseScrollDelta is inconsistent when limiting framerate
Resolution Note (fix version 1.4.2):
fixed in 190d83e.
PR : https://github.cds.internal.unity3d.com/unity/com.unity.localization/pull/423