Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [unity-webgl]

The tag has no usage guidance.

0
votes
0answers
31 views

Return value from function in unity webgl and javascript communcation

I am using Unity webgl for my project and want to communicate from browser JavaScript to C#. One way is to call C# function from JavaScript using SendMessage. I am easily making call using this code ...
0
votes
0answers
44 views

Error when build a webGL game

I'm using unity 5.6.6f2 , and cannot build my project to WebGL. Screenshot of console: Errors: stderr: Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: "C:\Program ...
0
votes
0answers
54 views

unity webgl keyboard input is not working

I have a page with unitywebgl and some other extra input controls like for number and name but the problem is, the other html input control are not getting input from keyboard. After searching i found ...
0
votes
1answer
86 views

Keeping score server side to prevent cheating

For my Unity WebGL game, I'm looking into storing the score of users in a database to make a highscore table (it's not a multiplayer game). Because client side code can always be "hacked", the advice ...
1
vote
2answers
451 views

Unity Facebook WebGL build… Does this work or not?!?! Getting conflicting answers

So here is the facebook documentation.. It seems to be saying you can output a Facebook WebGL build from Unity and upload it. It does not work for me, I get this message when I upload. "Games must ...
1
vote
0answers
132 views

Unity Pink Texture On WebGL

I'm trying to follow a youtube tutorial for my new game(images puzzle) and by using it's implementation on github to upload it later on facebook. When I run the game inside unity editor its work ...
0
votes
1answer
97 views

How to use Facebook Web Hosting for my Unity Game for both WebGL and GameRoom

As can be seen from the Facebook's official Docs It says that To have both a Gameroom and a Facebook Web Game, you should leave your Facebook Web Games URL (https) unchanged. For example, https://...
1
vote
1answer
365 views

Build Unity from C# script

I'd like to build and package all the ports of my Unity game through a scripting system. Linux and Windows work fine through the Unity command line options, but there is none for WebGL. For WebGL, ...
0
votes
1answer
168 views

Unity WebGL audio not looping when started with playdelayed()

I have an audioSource in which loop is set to true. I am starting it playing by calling playdelayed() In the editor its plays fine. In a webgl build it does not loop. It just plays once. Also in ...
1
vote
1answer
306 views

Font Changes in WebGL Build

I'm attempting to make a game for WebGL. However, everytime I export a build, the font always changes on everything, just like below. Original WebGL My default font is Arial and I have made a ...