Hey there, I need help with my unity setup.
I’ve got a new pc, so it’s the second time that I installed babylon.js and node.js for my unity projects.
I’ve done all steps and yes, I installed TypeScript Command and detected it in the babylon.js exporter to script compilation options.
I can’t export the project using the play button, there’s a “Build Failed” message. The errors are: “Assets/Babylon/Library/babylon.d.ts (56920,30): error TS2304: Cannot find name ‘WebGLObject’. Assets/Babylon/Library/babylon.d.ts (56926,32): error TS2304: Cannot find name ‘WebGLObject’”
and "Failed to compile project script files UnityEngine.Debug:LogError(Object)
The problem is in existing projects and also in new unity projects.
I’m working with Unity 2019.3.9f1, Babylon Toolkit Version 4.0.0 and I installed node.js 14.17.0 LTS.
Can anyone help?