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

I get a Crash when i close connection in Coroutine

public class VKNetworkManager : NetworkManager { public override void OnStartServer(){ base.OnStartServer (); NetworkServer.RegisterHandler(LOGIN_CODE, OnVKLogin); } void OnVKLogin(NetworkMessage...

View Article


Unity Button as HTML Button

Hello, So I am working on Unity WebGl game and I need to open a popup on button click but the problem is the browser blocks the popup. So how do i solve it?? Please help. On Button click i call a...

View Article


Hosting a web gl game for Facebook

So.. I've been trying to host my web gl build on somewhere that facebook can work with but got no luck so far... I have tried google drive, and although I can play from the google drive address I cant...

View Article

C# webGL and browser communication

Hi, I'm just trying to get a untity webgl player to browser communication working. I would be very glad if somebody could explain to me where I need to include the SendMessage function to get the...

View Article

Deserializing XML not working with WebGL

Hallo everyone, I am trying to create a working WebGL version of my application. To do so I need to deserialize an XML file called ***hspositions.xml***, located in the ***StreamingAssets*** directory....

View Article


WebGL communicates poorly with Unity

Hello guys, I'm creating a model of Solar System and I have one scene with one planet and some moons on the screen. Underneath it I have a list of objects in the scene, which work as a links. When I...

View Article

WebGL, Unity Web Player: local or server?

About WebGL and Unity Web Player, do they run a. locally on the user's computer through the browser b. on a server, sending the output to the user's browser or c. in some other way that I don't...

View Article

How to use CursorLockMode in webGL

Hi, I want to do pretty much that : http://media.tojicode.com/q3bsp/ I have a virtual tour in a building, deploy on WebGL, I want to lock the cursor so the view doesn't freeze when I'm out of the...

View Article


EditorUtility.OpenFilePanel for UnityWebGL (Runtime)

I want the user to select a image from computer in Unity WebGL game but I am not able to get any library or code for this thing. I want exact functionality of EditorUtility.OpenFilePanel for UnityWebGL...

View Article


WebGl and WebJavaScript

hi! i have read this link [webGl unity ][1] i m making WebGl project in unity where user have to upload a file , but unity does not provide any file piker, so i decide to go with javascript (web). i m...

View Article

Changing WebGL canvas size

I tried webgl building, and created fix-sized canvas(960x600) but I want to build scalable canvas(scaling with window size), and set margin 0. (i want to make window sized canvas) how do i get it?

View Article

After changing my Sprite compression settings for WebGL I got the error...

In a bid to reduce the file size of my game I went through all of the sprites in my game and went to their WebGL settings and changed the compression setting to Crunched, after saving and building the...

View Article

Unity 5.3 is Slower on WebGL and iPad

Hi, I have just updated to Unity 5.3 and everything runs significantly slower on moderate to lower end devices and on WebGL. I used to get 60 FPS on WebGL. Without changing a single line of code I now...

View Article


How to ensure XmlSerializer does not exceed the generationThreshold in WebGL...

Hi All Long time Unity user here, but this is my first question, my actual problem is already solved but I'd like to know a little more about what on earth is going on. So the problem that led to this....

View Article

Can external pure javascript files be accessed from Unity?

I am looking at releasing a project to the web and I wanted to try to integrate Unity in to said project. For testing I tried setting up an event in unity that would being up an alert window in the...

View Article


Unity 5.3 WebGL build gets stuck

When i build for WebGL it gets stuck on "native compile to JS" i am using a kinda bad PC and i was wondering if that was the issue.

View Article

Can I use unity assets with three.js?

Unity supports WebGL export. Then, can I use existing unity assets with three.js? For example, three.js is responsible for rendering and camera controls, unity assets are responsible for storing 3d model.

View Article


Does System.Reflection work in unity 5?

i am facing this error while crating build on webgl platform: Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper...

View Article

Shadow rendering distance HTML5

I am having trouble with shadows and HTML5 builds. The objects in my game ended up being of very large scale (6m X 6m). Which in turn has made my camera distance to the subjects rather large (120m)....

View Article

Exporting user created gameobject to folder on server as obj WebGL?

I've seen numerous questions/answers on how to export a gameobject from within the editor during development, but nothing as far as the user saving their created content. Here's what I am looking to...

View Article
Browsing all 2390 articles
Browse latest View live


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