Persistence of PlayerPrefs in WebGL
Hi all, I am fighting with PlayerPrefs in my WebGL build as I want to have persistence between sessions and everything works great. BUT when I build a new release, the PlayerPrefs do not exist anymore....
View ArticleLinux server with Unity Networking and Websockets not working
I have created a small multiplayer test game with Unity Networking (version 5.6 for Windows). My objective was to have the client in WebGL and the server running as Linux standalone (headless). To do...
View ArticleWebGL - ArgumentNullException: Parameter name: c/s
Hello everybody and thanks for your time, I am porting a really big project to WebGL and I was able to solve every problem I encountered until now. I get 2 errors on the development console (and the...
View ArticlePublishing WebGL build
I made a game and tried to publish it in itch.io. Everything works out just fine, but when I try to play the game this error appears: ![alt text][1] [1]: /storage/temp/93336-error.png I've tried...
View ArticleLocal sqlite data base with a unity webgl build in electron can’t access
Hello guys, I'm new to electron and I'm trying to make a weather web app using Unity 3D WebGL and electron so I build the application and convert it to electron project it works but it can't find the...
View ArticleWebGL - Can't Enable Disabled Items?
I'm having trouble with my latest WebGL builds. The App I have built is a calculator and what happens is, I have certain Image objects and numbers appear within a scrollable list when the users selects...
View ArticleIs it possible to load from Streaming Assets in HTML5 - WebGL in Unity 5.6
Hi! When I load from Streaming Assets I use these paths: UNITY EDITOR: ("file://" + Application.dataPath + "/StreamingAssets" + "/" + url); UNITY ANDROID: ("jar:file://"+ Application.dataPath...
View ArticleWhen trying to build my game, error pops up and WebGL will not build game
I am making a unity game for my web class and my game is complete. When I go to build the game using WebGL, this error pops up. FileNotFoundException: Could not find file...
View ArticleWhy do PlayerPrefs become empty when uploading a new WebGL game version to...
PlayerPrefs works perfectly on a specific WebGL game version. Uploading a new game version to Facebook makes PlayerPrefs "forget" everything. If I got it right, WebGL PlayerPrefs is saved in indexdb...
View ArticleWebGL uNET Host Server on WAN
Hello! I'm currently developing a Unity and WebGL based top-down 2D game. I've come to the point where I need to connect players on the internet. I have successfully connected two instances of the game...
View ArticleWhat is the WebGL equivalent to Application.isWebPlayer ?
It used to be you could use Application.isWebPlayer to known if the game is running in the Web Player. This has been deprecated as of 5.4. I would have thought it would make sense to just carry it over...
View Articleusing Asset Bundles to reduce my WebGl build size
We have an Unity app that contains more than 700 images, right now the build size is a real problem for us, so we're looking into how to reduce the build size. We wanted to download the images from our...
View ArticleStartup time of WebGL build
**Clarification:** This is not about loading data from server. I'm having problem with the delay between when data finished loading (the loading progress bar disappear) and the game's actual start...
View ArticleError at WebGl
Hello. I have a problem when I learning from Space Shouter tutorial. I heard I should use WebGl because Web Player isn't available. But I see this: Building for WebGl requires a 64-bit Unity editor. So...
View Articleil2cpp crashing when building for WebGL?
Hello, I have been struggling when building my project for WebGL - il2cpp keeps crashing during the process. I have tried varied export settings, deleting and recreating the .meta files, reimporting...
View ArticleConversion of object.text to webGL
So i want to make a sudoku game and i created an array containing the text component of the buttons called buttonList. thanks to that i can easily change the text of buttons using "buttonList[i].text =...
View ArticleSending messages through mobile browsers
Hi Everyone, I do understand the unity does not officially support web browsers on mobile devices, but due to some reasons, i still need to do so. I have one question. I plan to open up a browser in an...
View ArticleWebGL build error Unity 5.5
Hi I can`t run project (local in Firefox and on server too), I get this error Thanks Decompressed Release/WebGL.memgz in 132ms. You can remove this delay if you configure your web server to host files...
View Article[Problem] Unity 5.6.1f1 won't build to WebGL
Building my project to WebGL doesn't work, I can build for Windows Standalone without a problem. I'm out of ideas on what to do so if anyone has any ideas they are very much appreciated! [My error...
View ArticleCan I build for WebGL with Firebase Analytics?
I added Firebase Analytics to my project. I build it for Android with no problems, but when I try to create a WebGL build, I get the following error: Assets/Tracker.cs(4,7): error CS0246: The type or...
View Article