I have Unity project created in Unity 5.2.3. I open this project in Unity 5.3.3p3 and compile for WebGl and get error: Invoking error handler due to ReferenceError: $ is not defined.
Asked
Active
Viewed 1,649 times
0
-
Do you create a blank project or it is project downloaded from somewhere? – Michał Leszczyński Mar 31 '16 at 10:58
-
I made project in Unity 5.2.3. I build project for WebGL and get error – Knaus Irina Mar 31 '16 at 11:16
-
Event I get error if compile in Unity 5.3.3 – Knaus Irina Mar 31 '16 at 13:00
-
In mozilla in console : http://prntscr.com/amogyf – Knaus Irina Apr 01 '16 at 06:58
1 Answers
0
I find answer: in my code was line: Application.ExternalCall("$('#ViewerBox').data('unityViewer')." + method, values);
With symbol $

Knaus Irina
- 789
- 5
- 15
- 35
-
1It is probably jQuery reference, so if you add jQuery to your html it should fix the problem – Michał Leszczyński Apr 01 '16 at 11:09