WebGL build callback on tab close or browser quit.
Hello! We're porting a game from android/iOS to WebGL and the problem is that we save player data when appliaction loses focus or pauses via OnAppliacitonPause/Focus. This function gets called in WebGL...
View ArticleWebCamTexture nullpointerexception
I am trying to build an app which uses webcam. I am applying the webCamTexture on a raw image. I am trying to run this on webGL. I have done all the fact checks and applied all the safety checks....
View Articlewhen exporting my project to webGL, the screen gets cut
Hello, I'm trying to develop a unity 2D web game. when I export it, the screen always gets cut in the edges. It also gets cut on the edges when I run it in fullscreen mode with unity. How can I export...
View ArticleUnityObject2 not defined in WebGL jslib plugins?
Hi there - I'm trying to convert a game from the webplayer to webGL. I read that the preferred way of talking with the browser is through plugins, so here's my plugin code: var BrowserInfoPlugin = {...
View ArticleWebGL resolution issue
Hello all, I am facing a resolution issue with my WebGL build in Retina Displays. The WebGL content are appearing little blurry and model are with jagged edges. Please help me to fix this. Thanks in...
View ArticleParticle System using a texture sheet animation is not rendering correctly in...
I've built a 2D game and I have two Particle System Prefabs that use Texture Sheet Animation - one is for an explosion and the other for a sparkle. When I play it in the editor everything looks great...
View ArticleWebGL Build doesn't work on hosted websites with Firefox
I'm trying to host my WebGL game on a few websites and I get the same error with Firefox: NotFoundError: The operation failed because the requested database object could not be found. For example, an...
View ArticleHow to allow text to be selectable in surrounding html in a WebGL build?
I don't need my WebGL game to consume mouse (or keyboard) events, but I do want the user to be able to use both mouse and keyboard in the html that contains my game. I have tried: #if !UNITY_EDITOR...
View ArticleRemove DLLs from build
I'm building a WebGL project and I can't seem to get it under 7 MB despite minimal assets. Currently, dll's are taking about 50% of he build. I've tried everything I can think of to reduce...
View ArticleEnable scrolling the page in WebGL
Whenever the cursor/mouse is inside the game, I can't scroll the webpage. I want to be able to scroll the entire page even if my mouse is inside the screen. My game doesn't need any kind of scrolling...
View ArticleHow to make multiple rooms with Unity and WebGL?
Hello, Im new to Unity networking, I need a game where the lobby shows a bunch of different rooms and the player can choose a room, then go into that room that has a bunch of other players in there....
View ArticleEasily getting variable values from WebGL in Browser
I'm developing some 3D interactions in Unity, and they will be embedded in a webpage which will have other interactive components. I'm going to need to communicate between these other components, and...
View ArticleHow can I suppress 'Web Audio API is not supported in this browser' in...
I have a WebGL app that runs fine in Internet Explorer. I was able to suppress the message saying that the current browser is not supported in UnityLoader.js. However, the "Web Audio API is not...
View ArticleWebGL: GetMouseButtonDown Not Working?
When I play the game in the editor, all of the input works perfectly fine. For reference, I'm using code like this: if(Input.GetMouseButtonDown(0)) mouseDown = true; else if(Input.GetMouseButtonUp(0))...
View ArticleFailed building WebGL Player in 5.3.4f1
I'm trying to build my project for WebGL and it fails. I've build it before a couple weeks ago and have not changed anything obvious that would affect this. I've found some older topics on this issue...
View ArticlePass mouseevents from Iframe to unity application (WebGL)
In my programm I have detailwindows that can be opened and that contains information such as a diagram which shows different information. This diagramm exists in form of html-code that contains...
View ArticleHow to read uploaded WebGL binary files?
Hi, I want to upload audio to my game via javascript (because of WebGL), and I have my input and everything working, and I can select a file, but how would I pass the file back into Unity as an...
View ArticleWEBGL BUILDING, HOW TO SHOW CHNESE.
I built my project as WEBGL,but the text compnent can not show chinese.unity version is 5.3.4?anyone tried this?
View ArticleFailed runing python on WebGL build (Unity 5.3.2 / Windows 10)
Hello guys, As it's said in the topic name im on Unity 5.3.2f1 (64bit) and my os is Windows 10. I wanted to build my project in WebGL but i got some errors. I know that this question is current and i...
View ArticleIs possible to use TTS for WebGl?
I'm making a project for visually impaired and i like to know if is possible to use "Text - to - speech" for WebGl. Thanks in advance.
View Article