Search Issue Tracker

By Design

Votes

0

Found in

2017.4.0f1

2018.2.15f1

Issue ID

1116375

Regression

No

WebGL build is not respecting the StringComparison.InvariantCultureIgnoreCase string comparison parameter

WebGL

-

How to reproduce:
1. Open the attached project
2. Go to Menu bar -> File -> Build Settings -> Switch to WebGL platform and build
3. Run the WebGL project
4. Enter a capital B in the input field

Aspected: Both words are lightened green
Actual: Lover case b is being ignored

Reproducible with: 2017.4.22f1, 2018.3.7f1, 2019.1.0b5, 2019.2.0a7

  1. Resolution Note (2019.2.X):

    This occurs because embedded resources are disabled by default for WebGL builds. Use the following editor script to enable embedded resources:

    using UnityEditor;

    public class WebGLEditorScript
    {
    [MenuItem("WebGL/Enable Embedded Resources")]
    public static void EnableErrorMessageTesting()
    {
    PlayerSettings.SetPropertyBool("useEmbeddedResources", true, BuildTargetGroup.WebGL);
    }
    }

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.