Search Issue Tracker

Fixed in 2019.1.X

Votes

0

Found in

2017.4.0f1

2018.4.0f1

2018.4.1f1

Issue ID

1159093

Regression

No

Resources Load fails to load TextAsset when it has non-ASCII characters on WebGL

Scripting

-

How to reproduce:
1. Open the user's project
2. Open the scene "WebGLBug/TestWebGLScene"
3. Press Play.
Note that text appears on both sides of the screen. On the left side, under "DefaultPlayerNames.txt", is a list of screen names. On the right side, under "AnotherFile.txt", is the sentence "This file loads correctly". The text on the left side comes from WebGLBug/Resources/Settings/DefaultPlayerNames.txt. The text on the right side comes from WebGLBug/Resources/Settings/AnotherFile.txt
4. File > Build Settings. Select the WebGL build target.
5. Click "Build and Run"

Expected result: TextAsset loads even with Non-ASCII characters
Actual result: TextAsset is null

Reproducible with - 2017.4.28f1, 2018.4.1f1
Not reproducible with - 2019.1.5f1, 2019.2.0b5, 2019.3.0a5

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.