Quantcast
Channel: Questions in topic: "webgl"
Browsing all 2390 articles
Browse latest View live
↧

Unity 5.1.1f1 - WebGL : Lock cursor in the screen not working

Hello everyone. I'm working on a game project on Unity 5.1.1f1 and I had to build it on the WebGL platform. In my game management script, I lock the cursor in the screen with the code below. It works...

View Article


How to get blurred mirror effect in webGL?

So I've been all over the place on this, and thought I had it. I'm looking for a way to make a reflective surface that's somewhat blurry, and has to run in webGL builds. I tried a reflective shader,...

View Article


External Javascript call in Unity WebGL

Hi, I have a project where I need to be able to communicate with a Unity WebGL application from the page it is located in. For example, If I click a button "View Model," the unity should load the...

View Article

Embedding scripting language (webgl-compatible)

Is there currently any scripting language that can be embedded into Unity, and still work when the project is exported to WebGL? So far I have tried quite a few, but no luck. Many require the ability...

View Article

How do you show C# line numbers in a WebGL build's stack trace?

We have a WebGL build of our C# Unity app that is throwing exceptions. We have enabled "Full Exceptions" and are executing the app via Build and Run. When we get a call stack it contains the names of...

View Article


How do you do repeated "Build & Run" builds with WebGL without recompiling?

We have a WebGL app that we launch using "Build & Run". This launches a localhost web server and connects Chrome to it, which is great. The thing is this build takes a really long time (even though...

View Article

How to check for pressed keys in WebGL?

Hi there, In my project i check if a configured key is pressed during update as follows: void Update() { if(Input.GetButton("Player 1 left")) { ExecuteAction(); } } When i "Build and Run" for WebGL and...

View Article

how to get the browser user agent in unity webgl?

How can I get the browser user agent in unity webgl game? thanks.

View Article


Font letter spacing issues in WebGL mode

The following shows a popup window rendered using the WebPlayer: ![alt text][1] The same popup window has some font issues when rendered using WebGL mode: ![alt text][2] Notice that the letters are not...

View Article


Building at Optimization level (fastest ) webgl.

I'm greatly interested in building for webgl with unity3d but the thing is when I try to build it builds well at optimization level (slow) and it hangs my browser (firefox) when i run the index.html...

View Article

WEBGL memory usage

Hey, I've started a WEBGL project in unity, but have a couple of problems concerning memory usage. When I open the project in my browser it takes up about 700MB of memory. This is a problem, but I...

View Article

Why there is a delay to load resources for android and webgl?

I'm making a game targeting android and webgl, and I'm actually confused about how Resources work. In the documentation they say: "thus all assets in the "Resources" folders will be included in a...

View Article

Why might colors look different?

This may not be the best place to ask, but in case it is a setting or shader or something: I build for WebGL and it looks great on my machine. When running on another machine, the colors are really...

View Article


WebGL error

I am upgrading a Unity 4.6 project to unity 5 to be able to make a webGL build. My project upgraded successfully, but I always get this error when trying to load up the webGL: An error occured running...

View Article

WebGl build with WWW POST data is blank on the server

My unity game uses a WWW to POST data to a PHP server. When I run the game from the editor, all is fine. However, when I run the WebGL build, my server is getting blank data. Why? I'm using Unity...

View Article


Error while running Unity WebGL build on MAMP localhost

I have built my game for WebGL platform and tried to run it on MAMP localhost. I am getting the following alert message in Google Chrome (Version 44.0.2403.125 (64-bit)) and in Safari (Version 8.0.3...

View Article

How to marshal a callback?

I'm trying to call a simple function with callback from [JavaScript plugin][1]. I have the following `jslib` file: var TestTimeout = { SetTimeout: function(callback, time) { setTimeout(callback, time);...

View Article


What headers can be passed through in web gl

Right now it appears that the only headers that get passed through on a response from a WWW put request is CONTENT-TYPE and CACHE-CONTROL despite seeing in the web network tool of the browser (both...

View Article

Problem with Webgl Build

Hi i have a problem building for webgl i build my game and i cant see it in browsers after update to unity 5.1.2f, for test I create a new project with nothing on it and does not work either (I listen...

View Article

WebGL build works but will not load in browser

Noobie to webGL so bear with me. I have an old project from Unity 3.x that I brought into the latest demo-free build of Unity 5. When I export to WebGL, it loads but I get the following error:...

View Article
Browsing all 2390 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>