Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I also encountered this issue. I have the latest version of nwjs v0.54.0 installed from here: https://www.construct.net/en/construct-2/nwjs, but the 3D layer is black when loading. I updated the Baby 3D itself to version 0.954 over the old 0.93, but that didn't help. There is only one third-party plugin in the project itself, and removing it didn't help. Does it make sense to check all the plugins that are installed in C2 itself? Can you show me the configuration settings for nwjs?

Are you sure this is an issue specific to nwjs?

A blacked out canvas makes me believe there might simply be layers that aren't invisible and block the 3D canvas.

Please confirm this doesn't happen when simply previewing in your browser directly.

I ran it on my laptop, where I had previously lowered and allocated 1 GB for VRAM via BIOS, since I didn't have enough RAM for all the tasks. Then this happened. I tried it on another device with more memory, and it works there. Here, I also tried it in Chrome and got this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'ClassName')
     at babylonjs.loaders.min.js:1:174181
     at babylonjs.loaders.min.js:1:212420
     at babylonjs.loaders.min.js:1:275
     at babylonjs.loaders.min.js:1:288

You're saying it works fine on a different device with better specs?

Are you maybe trying to run it on an older device that doesn't properly support WebGL?