Search Unity

WebGL compilation error

Discussion in 'Editor & General Support' started by epicardio, Feb 11, 2016.

  1. epicardio

    epicardio

    Joined:
    Feb 9, 2015
    Posts:
    6
    When I compile my app for WebGL, I get the following compilation error message:

    BCE0051: Operator '+' cannot be used with a left hand side of type 'UnityEngine.Vector3' and a right hand side of type 'Object'.

    (Filename: Line: 0)

    I know what the BCE0051error is and how to avoid it, but the compiler does not report the file name and line number of the error. I've checked all my JS files and cannot find any BCE0051 error.
    This error message does not appear when I compile for Unity standalone nor web player.