(Case 1354709) Import CSV does not save modified StringTable asset

Unity 2019.4.20f1, Localization 1.0.0-pre.10

Using the Unity Localization package to import a CSV file doesn’t save the modified StringTable asset.

Reproduce

  • Open provided project
  • Select Assets/localization/texts.asset
  • Press Export button in Inspector
  • Open exported file in LibreOffice Calc or Microsoft Excel, modify the english text “Hello World” to “Hello World 123” and save the file
  • Switch back to Unity
  • Press Import button in Inspector
  • Open the Assets/localization/texts_en.asset file in a text editor such as Notepad++

Actual
texts_en.asset still contains the old text “Hello World”.

Expected
texts_en.asset still contains the new text “Hello World 123”.

1 Like

If you press Save project does it update the file? I think this may just be a case of Unity not flushing the changes yet, I believe we do mark the file dirty so that the next time the project is saved it will be updated.

1 Like

Yes it does, I show that in the video :wink: I would still like to see the imported assets being saved automatically, because the current behavior is error prone when working with version control.

1 Like

QA was able to reproduce the issue. Good job!

1 Like