(Case 1354708) Import CSV throws IOException: Sharing violation

Unity 2019.4.20f1, Localization 1.0.0-pre.10

Using the Unity Localization package to import a CSV file that’s currently open in LibreOffice Calc or Microsoft Excel doesn’t work and output an IOException: Sharing violation on path texts_localization.csv error.

Reproduce

  • Open provided project
  • Select Assets/localization/texts.asset
  • Press Export button in Inspector
  • Open exported file in LibreOffice Calc or Microsoft Excel, modify it and save
  • Switch back to Unity
  • Press Import button in Inspector

Actual
Unity outputs IOException: Sharing violation on path texts_localization.csv and the updated localization isn’t imported.

Expected
Unity imports the localization without error.

Notes
Other applications, such as Notepad++, are able to open the CSV file while it’s open in LibreOffice Calc or Microsoft Excel.

7379612–900302–bugreport_1354708.zip (68 KB)

1 Like

The QA was able to reproduce the issue, thank you and thumbs up!

1 Like