Hi there - so we have simple text assets to handle localization in our game - things like:
#string1 = “Hi”
#string2 = “Bye”
etc.
Some of our strings have hard coded newlines into them, because localization desires them to be displayed that way, in particular the Japanese localization of our game. Example:
#Ask_Friends = 友達にお願\nいしよう!
However, sometimes Unity decides to read this (as visible in the inspector) as:
#Ask_Friends = 友達にお願い
しよう!
Reading this data in results in our data being truncated (everything on the second line is lost.) The actual data in the file itself seems file, but Unity is changing the literal characters “\n” to the ASCII “\r\n” on its own somehow.
This issue seems sporadic to reproduce - has anyone seen something like this? It’s causing random havoc making localized builds of our game. Simply clicking “reimport” on the affected assets makes them work again correctly with no external changes at all - this has nothing to do with running our game, NGUI, etc.
Thanks!