Search Issue Tracker

Fixed in 2018.3

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. F4879764b380355e718e8f3813d3a66c?d=mm

    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. F9bda0944aaa2bed7a8604053e72793d?d=mm

    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.