Questions tagged [unity-webgl]
The unity-webgl tag has no summary.
47 questions
0 votes
1 answer
62 views
How to build a Unity WebXR scene that uses raycasters?
I am fairly new to Unity. I want to create a VR project that I build to WebXR and publish to the web. I am using the sample scene from this project and it helps me get up and running. I am able to ...
1 vote
1 answer
302 views
Is this code using Awaitable correct?
I am upgrading my code from coroutines to using async-await and Awaitables on Unity 6. I have the following code of a spawner: ...
1 vote
0 answers
213 views
Minimal Content-Security-Policy (CSP) for WebGL Builds
I have a Webgl build created in Unity 2020.3.22f1. The Content Policy looks like this (set to report-only for debugging): Code (htaccess): ...
0 votes
1 answer
119 views
Skybox doesn't get displayed on mobile Chrome in Unity WebGl
In my webgl build skybox is completely purple on mobile Chrome browser but works fine on PC and mobile firefox. Is there any fix for this? Edit: This is my skybox material and I didn't do anything ...
0 votes
3 answers
730 views
OVR Lip Sync in Unity WebGL project
I am using the Oculus VR (OVR) Lip Sync Plugin for an avatar in a Unity project which I want to deploy to a browser using WebGL. The issue is that WebGL doesn't support Unity's ...
0 votes
1 answer
399 views
WebGL FPS is sometimes higher than max. FPS setting - why?
In lots of WebGL online games (all games I tested were made with Unity), my FPS is sometimes higher than the max, FPS setting of my PC (75), but why?
1 vote
1 answer
630 views
When loading only one item from the asset bundle in Unity, does the whole asset bundle need to get downloaded?
I am deciding on how to package my asset bundles that will be loaded from the web server at some point in the game. Currently I am thinking of packing them by types: for example, I would have one ...
0 votes
0 answers
652 views
AudioSource.isPlaying is not working in Unity WebGL Build
I am passing a clip to play on the audio source. Next, I wait for the audio to finish to invoke the next action. But the waiting loop never ends. Once the audio clip ends, the time I read from ...