Lag With Unity WebGL (Link Added For Examining)
When I play my game in the editor, it's all nice and smooth movement but when I build it for WebGL and I run it, its hardly playable because of how laggy it is. I have a script that spawns 2000 spheres...
View ArticleWebGL doesn't build
I am trying to build in WebGL but when i try to build it doesn't creat anything also i am getthing these errors 1st error: Failed running "C:\Program...
View ArticleScreenToWorldPoint for WebGL build and Editor return different values
Hello everyone! I have a Game window with resolution 1280x720. Script, that translates screen corner coordinates to world and print it to console: var cam = Camera.main; Vector2 LeftBottom =...
View ArticleWebgl browser error " DirectoryNotFoundException: Could not find a part of...
Hi i am new in webgl and the web development. I try to built a web game and i need to save an image file to from user to my server(localhost). To open the image from user pc i use the library [Unity...
View Articlethe latest version of unity physics?
I would like to ask if the latest version of unity physics does not support web GL mode. I use simple demo and error prompt: "not supportedexception: to marshal a managed method, please add an...
View ArticleError: AddComponent asking for "MeshCollider" which is not a Unity engine type.
I have a problem with colliders in my game. When I play in the editor it works fine, but when I build it (WebGL) and run it in chrome the colliders don't work at all. The Chrome console says:...
View ArticleDetect mobile client in webgl
I need to detect whether the user is running a webgl app in a mobile browser or on a desktop/laptop browser. Is this possible to detect using the Unity API, or you need to do some HTML hack?
View ArticleLoosing weight in WebGL build
I need to understand better what kind of stuff the Unity compiler puts into my webgl build, so that I can make sure to remove any redundant references that might trick the linker to include stuff I do...
View ArticleWebGL videoplayer black screen but listening to the audio in Chrome
Hi there! I'm playing a video in Chrome with the videoplayer in WebGL from an url, I can listen the audio correctly of all the video but the screen stills in black color during the whole video (mp4)....
View ArticleHow to implement Emscripten linking support for WebGl build?
In my web app I have upload and download methods that pull from an MS Azure server storage blob. Downloading information works fine since I'm just using UnityWebRequests. Unfortunately, to upload to...
View ArticleProbuilder Polybrush meshes not rendering in webgl
I have Unity 2019.3.1, with probuilder tools installed. I have a very basic mesh of some desert islands with Polybrush texture blend shaders on it. They work perfectly in Unity Editor, and when...
View ArticleLoad animated 3D object from streamingassets?
I am making a webgl app and I want to stream in 3D animations as they are needed only. But is this possible? It looks like Unity wants to preprocess all animations and include them into the build,...
View ArticleCamera background is white in editor but WebGL build it is a little darker
Hi I have set my camera background to solid color and the color set to white. In the editor and in play mode everything looks as intended but the WebGL build is a little darker. I also have white UI on...
View ArticleVideo player doesn't work in webgl
Hi , Im trying to set up a virtual expo with some video players on planes showing animations made by students. The webgl build is hosted on a cors enabled server, and the video players are set to URL...
View ArticleWebGL Build Shows Black Screen
I have a game that includes an asset from the asset store, a Canvas UI and a coin asset. I am developing on a MacBook pro. I have Unity 2019.2.16f. When I play in the editor everything is fine. If I...
View ArticleCloud Build WebGL compression formats
When building for WebGL in the editor, I have the option to choose a compression format: *Disabled, Gzip or Brotli*. I'm using **Unity Cloud Build** as a CI tool to automate deployments, but I can't...
View ArticleProblem with WebGl Build.
I made a game in C# and am trying to upload to the web from WebGL but the build keeps failing in the middle and I get this error(located below). When I click on the error it sends me to the...
View Articlecan i put downloaded games on google sites?,how do i download and put up...
so i have a really small html game website that i made soley to distract myself from math class with mr. Garcia (aka the smol pp nerd who takes pride in making fun of the slower students (like myself),...
View ArticleError building WebGL project in CI
Hey guys, I've been banging my head on the table over this one for a couple of days now... if you have any suggestions at all I'd really appreciate it. Some key points: I have a WebGL project that I'm...
View Articlehow to fixe ios probleme in instant game Webgel ?
hello guyss !! i have the game unity version 2018.2.6f1 , is working without problem but , when i want build webgl for facebook instant game , i have the problem with ios , the game is work in desktop...
View Article