Questions tagged [unity-webgl]

The tag has no usage guidance.

0
votes
0answers
28 views

Input.GetAxisRaw not returning zero after releasing the key

In my WebGL Project here is the way for camera navigation (Movement/Rotation) on Update event: ...
0
votes
1answer
18 views

How to use AssetBundles with Unity WebGL

I have a Unity WebGL project that tries to load AssetBundles, but I get an error: Unable to open archive file: http://localhost:50212/StreamingAssets/Bundles/language_english The code that creates ...
1
vote
0answers
112 views

Unity WebGL: how to copy to clipboard text from an inputField?

I would like to know if there is a solution to copy/pase text from/to an InputField in a WebGl Unity app. Edit: for security reason, Unity WebGL don't allow text copy and paste in/from browser. ...
0
votes
2answers
180 views

Unity WebGL player just shows black screen

I built my Unity project with WebGL. After load the resources, I can hear the music and player sounds(movements etc), but it just display black screen only. I found some similar situation in google, ...
0
votes
0answers
98 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
167 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
163 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
133 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
694 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
172 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
125 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
534 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
216 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
346 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 ...