Search Issue Tracker




Found in



Issue ID




[WebGL] InvalidOperationException error when moving a VisualElement in WebGL Player



Reproduction steps:
1. Open the attached project "ErrorRepro"
2. Open the “Assets/Scenes/Stage1.unity“ Scene
3. Build and run on WebGL
4. Open the browser Console window (RMB > Inspect > Console)
5. Press the “I“ key on the keyboard
6. Drag and release an item into the middle of the inventory twice

Expected result: Items appear back in the slot when released
Actual result: InvalidOperationException error appears in the console and VisualElements dissapear

Reproducible with: 2023.1.0a22, 2023.2.1f1, 2023.3.0a16
Not reproducible with: 2022.3.15f1, 2023.1.0a21
Couldn’t test with: 2021.3.32f1 - “Shader error in 'TextMeshPro/Sprite': undeclared identifier 'UIGammaToLinear' at line 107 (on gles)“

Reproducible on: Windows 10
Not reproducible on: No other environment tested

  1. Resolution Note:

    Duplicate of a bug that already has a fix (just needs to land). Should be available soon.
    Duplicate of

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.