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
- GetCurrentAnimatorClipInfoCount() and GetNextAnimatorClipInfoCount() return 0 when animator is in transition
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
Resolution Note (fix version 1.4.2):
fixed in 190d83e.
PR : https://github.cds.internal.unity3d.com/unity/com.unity.localization/pull/423