Error when compiling to WebGL: Destination directory not found
When I try to compile my project to WebGL in Development mode on Windows 8.1, I receive the following errors (the first one is truncated because it's really long; I can post it upon request)....
View ArticleWEBGL NIGHTMARES: Cursor lock and broken shaders
Hi. I'm making a virtual gallery for paintings that has been successfully built for mac and pc, but I'd mainly like to have it be available to play on my website, so I tried WebGL.... And panic ensues....
View ArticleUnityWebRequest preflight Access-Control-Allow-Origin
I am trying to download an asset bundle using UnityWebRequest. when I download Images I get the following error: Response to preflight request doesn't pass access control check: No...
View ArticleMemory usage for WebGL Build
Hello I just started using the Unity 5, I followed some tutorials and just finished "Creating a Breakout Game for Beginners". The game works fine, when I build it for windows, even as a dev build, it...
View ArticleAudioClips not playing in WebGL when downloaded with AssetBundles
Unity 5.2.3 or 5.3.1, WebGL audio clips rom AssetBundles seems to be firing: "Error: Cannot create FMOD::Sound instance for resource archive:/CAB-.../CAB-....resource, (Unsupported file or audio...
View ArticleI'm trying to GET a text from a server in WebGL, but is not working.
IEnumerator Start() { WWW www = new WWW(HOST_URL+ "?format=json"); yield return www; Debug.Log("Teste"+www.text); } //it debugs on unity editor, but when a try to use this text on webgl, it does not work.
View ArticleHow to put a Unity game in web ?
Hi, I have a game, developed in Unity. I need to put this game in a website (assume- www.abcdefg.com). What should I have to do for this? Also please note that, I heard that unity web player build is...
View ArticleOpen Link in New Tab - WebGL
Ive looked around and cant find anything that gets this done. The closest I can come is using Application.ExternalEval("window.open('http://www.myLink.com.au','_blank')"); Problem is, this is blocked...
View ArticleLocal host in WebGL
Hi, I was following the Unity Networking live training and I wanted to put my game on WebGL. The problem that I face is that I have to use Match Maker because when I try to use LAN Client, I am not...
View ArticleWhen Compiling to WebGL, not all Sprites Render Properly. Why?
I've made some updates to a game I made for Ludum Dare 34. It was working perfectly fine in the first release, the graphics looked as intended. After making a few changes and recompiling for WebGL, the...
View ArticleWebGL: How to get parameters from PHP? (NOTE: Not values from absoluteURL)
I need to get params, in WebGL application, from a PHP file as I'm doing while using a WebPlayer build. These params are created from a PHP code that research a MySQL database, so is not possible to...
View ArticleWebRTC in Unity using FrozenMountain
Is there anyone out there who know is it is possible to create a WebRTC video chat using FrozenMountain's IceLink in Unity? This is the frozenmountain site: https://www.frozenmountain.com/ As I...
View ArticleIIS server isn't compressing unity files.
I enabled gzip compression in IIS and I added all the following MIME types: ![alt text][1] [1]: /storage/temp/61854-unity.png I still get this though. What am I doing wrong?
View ArticleUnity WebGL builds on a Squarespace site
Hey. I've finally had some success with Web GL. All my projects that never successfully built were started in Unity 4 and upgraded to 5. By starting a clean new U5 project and importing all the old...
View ArticleWebPlayer and WebGL wont work
OK so right to the point the question is how do i get these things working? I know Webplayer is about to be nuked once and for all by Unity5. 4+ but till then I want one or the other WORKING so i can...
View ArticleIs there a way to load images into a WebGL app?
I need to let the user select an image they have taken with their phone and load it into a Web GL app. I thought this would be a simple task but with Web GL the WWW-class seems to not be able to load...
View Articleunity webgl, angular js directive,
So I am trying to use an angularjs directive to load a unity webgl game. I have it working but on reload it bombs out, my guess is that b/c I dynamically loaded 'UnityLoader.js' and then tried to...
View ArticleWebGL rendering problem
Hi all, When running WebGl app on PC browser, there is a rendering problem. Blurry image above the red line and also shadows disappearing above line ![alt text][1] Anybody knows what i'm doing wrong?...
View ArticleWhy i cant see Texture2D in WebGl
I cant see my texture which load from A file in WebGL , its used the path of the file to load as texture and WebGL does not support it , what the problem ?
View ArticleUnity UI Button behaviour changes in WebGL
I have created a simple game front end using the new UI framework in Unity 5. Among other things, I have a button which calls a function to increment a counter when the button is clicked. In the editor...
View Article