Search Issue Tracker

Fixed in 2018.3.X

Votes

2

Found in

Issue ID

990244

Regression

No

If a TextAsset is created from a .txt file that uses the wrong type of encoding

Asset - Importers

-

If a TextAsset is created from a .txt file that uses the wrong type of encoding, Unity will just return an empty string WITHOUT raising an error of any kind. Not sure which encodings cause problems, although UTF-8 seems to be good. Manual/class-TextAsset.html : should indicate valid encodings.

Comments (2)

  1. keni4

    Apr 27, 2018 16:18

    Got this wired issue only on iPhone... it was insane to find it out. Windows editor, android build works fine. Seen in 2017.4.f1

  2. Wild-Factor

    Mar 16, 2018 18:11

    Same here. Seems to not work in ANSI

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.