- Home /
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'; const port = 8080;
app.get('/', function (req, res) { res.sendFile(__dirname + '/webgl/index.html'); });
const server = app.listen(port, function() { console.log(`Server running at http://${hostname}:${port}/`); })
and I access localhost:8080 page have only this text
WebGL builds are not supported on mobile devices. UnityEnvironment
My OS is Ubunto.
Please help me TT
Your answer
![](https://koobas.hobune.stream/wayback/20220613033852im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to upload WebGL Build to my own website 0 Answers
WASM - Unity WebGL & NodeJS 0 Answers
What is unity WebGL export's correlation to Node.js? 1 Answer
WebGL build: ncaught exception: abort(-1) 0 Answers
Failure to compile c++ for WebGL 1 Answer