All Questions
Tagged with unity-webgl html
40 questions
0
votes
0
answers
32
views
Start camera in mobile browser by appending body, causes flickering with touch event, with Unity WebGL
I am working on a WebGL AR app using Unity and ARWT library. This library works by using aframe and AR.js to start the device camera, read the camera feed from the HTML/JavaScript end, and send it to ...
0
votes
0
answers
245
views
Unity 6 WebGL what is throwing error in framework js
So I have paid for server hosting for my personal project and I wanted to add interactable app (made with unity WebGL) and as I never did WebGL outside of Itch.io and I am noob in terms of technical ...
0
votes
1
answer
398
views
React Unity WebGL Not Working | Cannot read properties of null (reading 'useState')
I'm currently setting up a basic React website that includes a WebGL application. I successfully followed the 'Getting Started' guide for React [1], and then I tried to integrate a WebGL application ...
0
votes
1
answer
526
views
How not to refresh the page when query parameters change?
There is a Unity WebGL application on the page. You need to call a certain function when a page parameter changes, but not to update it, so that the changes only affect the application. Is this even ...
0
votes
1
answer
879
views
Prohibit changing the game resolution in Unity WebGL
I have a Unity WebGL game. The browser window can be changed as you like, so the game can be severely deformed. How to make the game always maintain its proportions regardless of the browser ...
1
vote
2
answers
912
views
Portrait mode shows black screen on a browser in Unity Webgl, landscape opens fine
I am using Unity version 2019.4.19f1 to make webgl build. After making the build I resize the unity canvas using these line below (in UnityLoader.js inside "DOMContentLoaded" eventlistner):
...
1
vote
1
answer
3k
views
Resize unity webgl canvas non-responsive
I am trying to resize the Unity's WebGL canvas to fit to the aspect ratio of browser window. I do not want it to be responsive, just resize to fit in the window.
How do I achieve this in css/html?
I ...
0
votes
0
answers
512
views
Are there browser/system security measures that can block Unity WebGL projects?
The PROBLEM
I am currently building a simple website containing Unity WebGL projects for a client. The games are working on all browsers for me, my teammates, and my producer, but one of the games ...
1
vote
0
answers
289
views
Unity webGL keeps centring on page height
I've imported my Unity game to WebGL but the game window keeps centering to the height of the page, changing its positioning and overlapping other parts of the page, and I cannot figure out why. I'm ...
0
votes
0
answers
518
views
How to load the unity content on button click in a web page?
I have created a unity webGL project, here i am looking for a way like once the progress bar is full,a button will appear on the web page.
On clicking the button unity content should load.
Is this ...
1
vote
0
answers
405
views
How can I play a video while Unity webgl is loading?
i'm building a webgl application with unity right now and i want, that while the website is loading the unity container i want to play a video. The problem is, that i want the video to be closed, when ...
3
votes
3
answers
22k
views
How can I solve this error in WebGL Unity game?
I have no idea why I'm getting this error. After building my project in WebGL and launching it in itch.io game window (in Chrome) it displays this message, the game can't run:
An error occurred ...
0
votes
1
answer
4k
views
Unity3D WebGL Canvas Resizing Issue
I am having problems with my game - it resizes right on some computers but not others can anyone help see what's wrong? it's at http://pking.io
here's the issue on Chrome:
pking.io loading issue
...
0
votes
0
answers
457
views
I would like to modify the output of Webgl Platform Building with Unity3D
Building with WebGL creates one HTML file and one Build folder.
Remove the Build/Aa.json file from here orIt should be modified to js.
Now I'm trying to put json's content in HTML but it doesn't ...
2
votes
1
answer
5k
views
How to increase the size of Unity WebGL game window on itch.io?
I just uploaded my first Unity WebGL build to itch.io but the window is really small so you can only see a small portion of the center of the actual game view
Game in question, along with exe ...