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
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
Resolution Note (fix version 1.4.2):
fixed in 190d83e.
PR : https://github.cds.internal.unity3d.com/unity/com.unity.localization/pull/423