Quantcast
Channel: Questions in topic: "javascript"
Browsing all 68 articles
Browse latest View live

is it possible to use JSON to insert some component and get some data to save...

I don't know if it is possible to communicate games with my website and set and get some data from my batabase?

View Article



Dynamically adding Javascript to an Instantiated object using...

I recently upgraded an old unfinished project (please excuse any terrible code - I wrote it in college), and I'm trying to root out all the bugs. One that has tripped me up immensely is a bug involving...

View Article

Unity Grandle Build Failed and Illegal Character

Hello guys I have a problem but I don't know how to fix this problem, Help me![alt text][1] [1]: /storage/temp/155401-hta.png

View Article

How do i load my game data after being saved using Json

Hi Im new to unity. I am trying to save and load player data through JSON. My save method is working but I'm not able to load the saved data back. Here is my code using System.Collections; using...

View Article

MissingMethodException with jslib calling c# functions

I am using jslib plugin to use websockets in a webgl build. Whenever I call a c# function from jslib I get an error: MissingMethodException: Client.OnMsg Due to: Attempted to access a missing member....

View Article


Uncaught RuntimeError: Memory access out of bounds,Uncaught RuntimeError:...

When I press the "Build and run" option in Unity, my build runs perfectly, with the local host. But when I try to upload it to 000webhost.com to test it online, it shows the loading screen, but when...

View Article

Grab/Throw Mechanic.,Grab/Throw Objects Mechanic

Hello everyone! I am currently working on a First Person 3D game inspired by portal. You need to solve puzzles by grabbing objects (cubes) and placing them in the right spot, or using them in a right...

View Article

[webgl] Dynamic models with similar logic

Hello, Let's suppose that I have 3d models of multiple cars that are composed of multiple 3d objects. Car model:{ - windows model - roof model - door model - engine model... } The models are expressed...

View Article


What is the best way to write Serialized Save Data to a file using WebGL

I am attempting to use a WebGL build of a Unity project to download a file that can be passed to other people and then reloaded. This file, so far, has been created in editor builds using a pretty well...

View Article


Uploading webgl version of the game error

Hi, So I've been trying to upload a playable in browser version of our game and I keep coming across this particular error. The game loads up fine, the title screen and level select screen work,...

View Article

Raw Javascript files on WebGL integration

Hello everyone, I recently stumbled upon this site https://github.com/szydej/GazeCloud and I'd like to integrate their .js file into unity to be used for eye tracking. I think it's an amazing project...

View Article

About the temporary file save destination in webGL

1.Generate a wav file and save it below Application.persistentDataPath + "/filename.wav" 2.Convert to byte type and download via Java FileStream fs = new FileStream(Application.persistentDataPath +...

View Article

Updating to meet 64-bit Android compliance

I built a game a while back on Unity 4 and it's been out on the Google Play Store and Steam for a few years now. Recently I got a notification from Google saying that they are requiring all of their...

View Article


Object to Waypoint script.

Hello everyone. I'm working on a **VR-Chat** project and trying to make a "waypoint to waypoint" train. I need to create a script that can make an object go from "waypoint 1" to "waypoint 2", but have...

View Article

Unity WebGL form posts to Cloud Firestore with Firebase JS SDK

My goal is to build a WebGL game in Unity that has a specific form and upon submission that form posts data into one of the Firebase storage solutions. After reading [this article][1], it's clear to me...

View Article


How can I port this Windows chess project to Android and iOS Devices?

There is an open source Unity3D [chess project][1] that I found online and I'm wondering if it is possible to make it build successfully on Android and iOS devices. When I run the scene with Windows as...

View Article

'TypeError: Cannot read property 'addEventListener' of null' error appeared...

I am attempting to migrate my project to the 2020.1.0f1 version of Unity. The following code, stored as a plugin in the Plugins folder, used to work in 2019 but now throws the error 'Cannot read...

View Article


Adding and calling to .js files in build

Hi All! I'm trying to get audio compression working in WebGL and so far it's been pretty draining (since I've never used javascript nor html). So far I've tried to create .jslib files for emscripten to...

View Article

Webgl : How to use javascript sharing function

Hello. i have a working javascript sharing function (port from another project) that i'd like to use in my webgl project but i dont think it is suitable with unity's webgl. i have a Pugins folder in...

View Article

How can I render a generated texture in WebGL?

Hello! I am trying to render a texture in javascript (WebGL texture) and I am currently trying to retrieve the texture's pointer in order to "link" it to a Unity texture. Is there a way to achieve...

View Article
Browsing all 68 articles
Browse latest View live




Latest Images