Questions tagged [unity-webgl]

Unity WebGL is a build option for exporting Unity projects as JavaScript programs which use HTML5, WebAssembly, WebGL and other web standards to run Unity content in a web browser.

What is Unity WebGL?

The WebGL build option allows Unity to publish content as JavaScript programs which use HTML5/JavaScript, WebAssembly, WebGL rendering API and other web standards to run Unity content in a web browser.

As of Unity 5.4, Unity WebGL is the official replacement for the Unity Web Player.

580 questions
0
votes
1 answer

'OnParticleCollision ' does not work in webgl build

using UnityEngine; using System.Collections; public class ParticleSystemCollisionManager : MonoBehaviour { void OnParticleCollision(GameObject other) { // work on pc build, webplayer build //when switch to webgl build, it work…
tim
  • 1,454
  • 1
  • 25
  • 45
0
votes
0 answers

Check memory free by Unity when loading assetbundles for unload objects from scene in low memory

I load assetbundles in scene by Unity3d. I want to know how get memory free from Unity in WebGL? In some moments by application exit with error: The browser could not allocate enough memory for the WebGL content. If you are the developer of this…
Knaus Irina
  • 789
  • 5
  • 15
  • 35
0
votes
1 answer

Unity WebGL player trying to get a blob: resource in Meteor

I have a Unity project compiled to WebGL I need integrate in a Meteor application but I'm getting a weird error. I have placed all unity files inside the public folder in Meteor, but the console reports this error: Invoking error handler due…
Ramses
  • 66
  • 1
  • 6
0
votes
0 answers

Parse Rest API PUT not working for Unity WebGL

I am working on unity webgl build on our existing IOS running app. All the data about users are saving on Parse. I have implemented Rest API to communicate with Parse. Implemented Get and Post(without passing the method header) they are working fine…
0
votes
1 answer

what do i need to convert a unity3d game to a web-based multiplayer

I am building a game with unity3D that uses websocket to connect to one or more android controllers (made with html5 + js) for multiplayer. The actual version runs locally as a standalone app and works as intended, people can connect and play it…
0
votes
1 answer

Creating unity3d multiplayer(PUN/unet) browser build

I have spent a lot of time with attempts to build unity3d project for browser(web player / web gl). Web player crashes with "content was stopped because a fatal content error has been detected". http://185.46.9.211/web_player/web_player.html Web GL…
0
votes
0 answers

Unity3d and building WebGL (Unable to load DLL 'QCARWrapper') [Vuforia]

When i'm trying build project to WebGL and run in a browser (Chrome, Safari, Firefox), i got an error: DllNotFoundException: Unable to load DLL 'QCARWrapper': The specified module could not be found. QCARWrapper in project exists:
0
votes
1 answer

Unity WebGL rendering

When running WebGl app on PC browser, there is a rendering problem. Blurry image above the red line and also shadows disappearing above line Anybody knows what i'm doing wrong? Thanks
user4589444
0
votes
1 answer

Unity WebGL/Parse Sign Up via REST API returns Unauthorized

I am working on integrating Parse with Unity for WebGL. Since the Parse plugin currently doesn't work with WebGL, I am forced to use the REST API (or edit the source code, which hasn't been working). Unfortunately, Parse doesn't have any…
0
votes
1 answer

Photon Unity 3D SDK crashes when exporting to WebGL

In Unity 5.3 the Photon-Unity3D-SDK 4.0.0.12 crashes with error CS0246 it cannot find type or namespace name SocketWebTcp. Do I have to try an older version of Unity or wait for a new version of Photon SDK?
0
votes
1 answer

Parse Unity/WebGL Posts often fail

I'm trying to use the Parse Unity plugin, and I am having tons of issues with getting information to and from Parse via a WebGL build. I incorporated the REST-API fixes mentioned here, and this makes it so that Parse will actually hear my requests…
0
votes
1 answer

Parse Unity WebGL - SignUpAsync Task Not Completing

I'm having trouble signing up users through Parse in my Unity app. In the editor, everything works as expected, but once I build it to the WebGL platform, I have a problem. When I call SignUpAsync() on a user, it is correctly setting up the user as…
0
votes
0 answers

Parse.com + Unity WebGL error

I have an issue with parse + unity in WebGL, it works perfectly in android or pc, but when i test in web this error appears exception thrown: SyntaxError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': 'sme 0' is not a valid HTTP header…
0
votes
1 answer

How to measure systematically Frames Per Second (FPS),FT (Frame Time) ,Peak Polygon Count for WebGL/Unity worlds in web browsers

I want to measure for experimentals purposes FPS, FT and Polygon count and other graphics parameters on worlds/games created for the Web from UNity (information like what is the average FPS or FT, minimum, maximum- all these statistics). In other…
0
votes
2 answers

Catching Input Events in WebGL build

When running a Unity project as a WebGL app is there way to catch the site's input events (e.g. keypress) once the application is running? Currently once the Unity app launches it eats keyboard events so that I can't type in to my text boxes on the…
Jerdak
  • 3,997
  • 1
  • 24
  • 36