Search Issue Tracker

Won't Fix

Votes

2

Found in

5.6.1p3

Issue ID

925368

Regression

No

The web browser reports js error when running webgl with "Use pre-built Engine" enabled

WebGL

-

Steps to reproduce:
1. Open attached project "WebLG-Sockets.zip"
2. Build and run for WebGL with "Development build" and "Use Pre-built Engine" checked
3. Upon launch

Expected: No error is thrown.
Actual: "ReferenceError: webSocketInstances is not defined" error thrown

Reproduced on: 5.6.2p1, 2017.1.0f2

Note: Couldn't test on 5.5.*, project unable to function.

Comments (2)

  1. Dfcc2bf8375d09c132bac994cd7ee789?d=mm

    flashmandv

    Dec 07, 2018 14:21

    Just happened to me with Unity 2018.1.1f1 and the WebSocket plugin from the asset store.
    Unchecking the pre-built engine option fixed the issue

  2. D4462a458ab2faa99faa05b3626792cd?d=mm

    Zadirion

    Jul 10, 2017 16:58

    Can be reproduced by getting the Websockets plugin from the unity store and checking that use pre-built engine option

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.