Unity script Moralis.initialize compile to WebGL

Hi all,

I have installed 1.2.1 WebGL SDK for Unity.
And I have successfully ran through their example/template.

When I try to add extra code in my index.html, to call my Cloud function in my Moralis server, it seems like Unity cannot compile it into WebGL.

I suspect the WebGL SDK doesn’t have Moralis function package. Need help what to do…

error during run:
(index):108 Uncaught ReferenceError: Moralis is not defined
at (index):108:3

solved. Forgot to add SDK src in Script