Unity WebGL cannot load remote js source?
I want to call Google Sign in API on WebGL build but it never run into onload callback, because of that I cannot call any api of that lib. Does anyone know this issue?> Blockquote
View ArticleHow to create a .jslib file for unity webGl
I am trying to create a .jslib file but unable to do that with visual code . I am making a plugin for my java script functionality to communicate with each other.
View ArticleHow to retrieve nested JSON variable - sendMessage WebGL
Hello! How can I retrieve a nested object in Unity with JsonUtility. I have something like this in javascript: grid = { type: "frame", layer_1: { "height": 100, "numberOfComponents": 3 }, layer_2: {...
View ArticleSHA512 JS -> C#
Is there any way that I can translate this JS Code Snippet: var contentHash = CryptoJS.SHA512(Json.stringify(requestBody)).toString(CryptoJS.enc.Hex); into C# language?
View Articlehow to solve webgl.loader.js:1 Unable to parse Build/webgl.framework.js.br...
I have deployed an app in webgl from a storage account but I have problems with the cdn server configuration and it is not compressing I have problems with the accept-encoding: br![alt text][1] [1]:...
View ArticleCalling a function from another function in webgl plugin
In my .jslib file I have multiple functions which returns string. Instead of writing the lines that convert the value to string over and over again, I tried to put that code in another function, and...
View ArticleHOW TO MAKE WEAPON SYSTEM (GUNS)
I WANT TO MAKE A WEAPON SYSTEM FOR GUNS COULD SOMEONE HELP ME
View ArticleWhat is a “debugger” statement in JavaScript?
The debugger statement stops the execution of the code at a breakpoint in [JavaScript][1] and calls the debugging function. Also, the debugging statement fails to work without the availability of...
View ArticleGetting an error in unity WebGL on IOS when trying to emit something to...
Hello, I created a game with unity and WebGL. Everyt$$anonymous$$ng works fine on every device except for iOS. For some reason when i try to emit some values from unity to a function in javascript IOS...
View ArticleError of one of the elements when starting the program
I wrote the source code for a new application on IOS, there were no errors on the tests, but when I ran the code, an error appeared in t$$anonymous$$s place, I don’t understand where and what’s wrong...
View ArticleHow does .JSLIB file work?
I can't understand how to work with `.jslib` files. I don't understand the syntax of t$$anonymous$$s type of file. Also I couldn't find any easy explanation of it The problem started when I tried to...
View ArticleCan I create a game using javascript only without c#? and how?
I learned javascript and I want to creat a game, I have heared that I can create a game in unity using javascript only without c#. Is it right? If yes, I want to know how in details.
View ArticleWhy does WASD move my player quicker than with a joystick?
For some reason, if you use a keyboard to move my player it's faster than a joystick. Can anyone help me? Here's my code: #pragma strict var moveSpeed : float; var clampRadius : float; var dashSpeed :...
View ArticleUpload json to WebGL Unity 2021
Hi to everyone, in my project i need to upload a json file straight from WebGL. I've read some other questions where the anser was by using JavaScript, but is it stil working fine on Unity 2021? Anyone...
View ArticleMissing (Mono Script) when it really exists
I'm running into a very annoying issue. Come on Unity! I thought you were better than this. When there is a bug in a script, the script shows up as missing in the inspector. I just upgraded an old...
View Article