All Questions
Tagged with webgl unity-game-engine
155 questions
1
vote
1
answer
134
views
How to Fix Incorrect Unity Color Rendering in Web Version of Game?
I am struggling with incorrect color rendering in the web version of my game.
It looks fine on Windows, like this:
But on the web, it looks like this:
I'm using Unity 6, and by default, it uses the ...
0
votes
1
answer
164
views
How to return variable from function when using callback?
Good afternoon, dear colleagues.
I'm trying to adapt a Unity WEBGL program for a some social network on the WEB. The social network has an API and integrated simply with Unity via JavaScript. It is ...
-3
votes
1
answer
135
views
Unity 6 builds an empty folder for WebGL
So basically after updating to Unity 6000.0.29f1, I can't make a build for WebGL platform anymore (it worked fine in 2021 version), since it builds an empty folder. Although there are some errors ...
2
votes
0
answers
55
views
How load AudioClip from Adressables in WebGL in Unity?
I wanted to optimize my application, added sounds to Addressables, but completely forgot that WaveGL has its own way of working with uploaded files, especially sounds.
I tried several options, and ...
1
vote
0
answers
128
views
iOS browsers reload WebGL games (built with Unity) on big loading events that do not allocate RAM
We've built a WebGL game with Unity and it runs fine everywhere except on iOS browsers.
For simplicity of understanding and referencing, I'll write down noteworthy points in number-point format:
Game ...
1
vote
0
answers
179
views
Unity 2022.3.19 Webgl iOS RAM refreshes
Environment: Unity 2022.3.19, WebGL, mobile Safari. The game consumes a significant amount of RAM on iOS.
The main issue is that the game randomly reloads when switching scenes. I suspect this might ...
1
vote
1
answer
127
views
WebSocket connection error on Unity WebGL
I created a Spring WebSocket server.
I want to real-time connection with Unity webgl.
It works well when I connect with postman.
It works well on Unity Game Scene.
async void Start()
{
Debug....
0
votes
1
answer
492
views
WebGL URP materials pink when build but look fine in editor (shader created with Amplify Shader Editor)
My problem is very similar to Unity WebGL ok in editor, pink screen in build but the offered solution does not work. Like in the question, the materials look fine viewed in the Editor but when ...
0
votes
0
answers
79
views
React UI elements linked to 3D spatial positions inside WebGL/Unity
I'm working on an application involving a Unity viewer using WebGL embedded in my React App, and I'm thinking of the best approach to embed some 3D elements fixed to some spatial locations on the 3D ...
0
votes
0
answers
78
views
Unable to Resume AudioContext on Webkit Browsers with Unity WebGL
I'm currently facing an issue with a project built using Unity WebGL. The problem arises specifically on browsers that use Webkit.
Despite my efforts to resume the AudioContext when the page becomes ...
0
votes
1
answer
164
views
Zenject's LinqExtensions.cs failing in WebGL build
I have a game made in Unity 2021.1.26f1 which relies on Zenject. It runs great in the editor and in a Windows build. When I build for WebGL, however, I receive the following error:
System.Linq....
0
votes
0
answers
98
views
Unity C++ WebGL build Error _ZN2cv3MatC1Ev
I'm trying this link to use OpenCV in unity. It works in UnityEditor but doesn't work in WebGL builds. Gives me errors when I try to build..
Errors :
Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\...
1
vote
1
answer
398
views
Cors blocking requests on WebGL build Unity
I made a multiplayer game using Unity and exporting it with WebGL I've ran into an issue. Requests to my remote server blocked by Cors in browser.
access to fetch at 'https://myhost/launch' from ...
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
0
answers
78
views
Embedded Unity WebGL game not loading on Website
I have created a Unity game and exported the build with WebGL. I then placed the game files inside the public folder in my Next.js website. I then used iframes to try and display the game so users can ...