Quantcast
Channel: Questions in topic: "nodejs"
Browsing index pages (130 articles)

C# Sending .wav file using WebSocket returns OperationAborted

So I have a local Node.js server and a C# client inside a Unity project, what I am trying to do is to stream a .wav file to the server in the same machine (localhost:3000) using WebSockets but the...

View Article


Problem with loading asset bundle for WebGL build

I have been trying to implement asset bundles for WebGL Build. The App works fine for windows build. I have uploaded the asset bundle to google drive and used its direct download link. while loading...

View Article


Webcam texture in unity render streaming

I want render a webcam texture on a player (currently which is cube ) in Unity Render Streaming. I have two player in a scene which controller through a different web browser and I want to render their...

View Article

UnityWebRequest.Post with MultipartFormDataSection returns Bad Request (400)

Hello, I've created a node.js server to post data to database table, this is my node.js code snippet: router.post('/register', async function(req,res){ try{ const {id, name} = req.query; const sqlQuery...

View Article

How to upload WebGL Build to my own website

I have tried to get information on this for hours, but cannot find any. How should upload the WebGL build of my unity game to my personal Node js based Web Application. I'd just upload it in itch.io...

View Article


Input Manager initialize...,Input Manager initializng...

My project won't load past the first scene. I look in the browser console and the last message is "Input Manager initialize..." and it just stays stuck there. Help!!,I'm running the project in browser,...

View Article

JSON object not being sent through put web request

So, I have this code in Unity: var www = UnityWebRequest.Put(NetworkManager.Instance.data.ConnectionURL + "/upload-schedule", contents); www.SetRequestHeader("Content-Type", "application/json"); yield...

View Article

webgl + nodejs error

I build unity scene using webGL. I want to make server with node.js and open webGL i write index.js like this const express = require('express'); const app = express(); const hostname = '127.0.0.1';...

View Article


access node.js in unity editor / and make builds?

Since node.js appears to be integrated into unity already in the package manager can we access node.js functionality and use it in our games? how please?

View Article


using node.js in a unity compiled .apk .exe ios app?

Is this possible? how can the unity game installer be configured to include node,js with the unity run time so that it is installed with the compiled unity game? node.js appears to be somehow...

View Article

How are node.js and unity integrated?

When running the unity editor we see a dependency on node.js for the package manager. Is there some way to benefit from this node.js unity integration beyond the packagemanager -- There must be some...

View Article

can node.js be installed by unity installer

I'd like to add some node.js into a project - I think the best way to do this is with https://github.com/floatinghotpot/socket.io-unity this is a cool way to benefit from both the worlds of c# and...

View Article

Unity doesn't see the disconnect from the server when called by another...

For the first time, I am doing something networked, and now I decided to make friends between the Unity client and the Nodejs server. Subject: I run "play" in Unity - there is a connection to the...

View Article


Failed to start UnityPackageManager Node.js Problem

When i start unity, i get an error message: Failed to start the Unity Package Manager local server process. And after some research, i found the problem stems from this: ![alt text][1] Is there any way...

View Article

Unity WebSocket Client

I have a NodeJS Websocket server and I need to create a connection between Unity and NodeJS, but I can't find a way to create the script to act as a client in Unity. How could I create the Client...

View Article


Android HTTPS POST Request

I am having a heck of a time wrapping my head around the TLS handshake concept Unity Docs use this: using UnityEngine.Networking; using System.Security.Cryptography.X509Certificates; // Based on...

View Article

Should I make a separate class for web requests in a Unity game?

I am making a multiplayer game using Photon. For the “traditional” multiplayer tasks, I am using Photon i.e. server RPC. For user registration, authentication, and other data items like high scores,...

View Article


If I save game state to a Node => Express => MongoDB server; do I even need...

I am creating a multiplayer racing game, and I am not a fan of giving players access to files containing state. Can I skip PlayerPrefs completely and save state to a back end server? I am already doing...

View Article

Having photon and node JS in Unity

We would like to have voice chat in game, so we prefer to use photon voice and photon self hosted server for handling rooms and running the authoritative game logic, all other modules in the app like...

View Article

How do I connect to a server in LAN from a different computer? I'm using...

The connection is working locally just fine. But I need to connect to different machine (which runs node js server) which act as client. I'm using socket.io to transfer data. The server is running on...

View Article
Browsing index pages (130 articles)


Latest Images