Unity - Babylon Editor Toolkit

I am Using
Unity 2020.3.4f1 (Personal)
and
Babylon Editor Toolkit Version 5.0.0 - A16.9

C:\Program Files\nodejs\node.exe -v
v14.16.1
C:\Users\User1\AppData\Roaming\npm\node_modules\typescript\bin>tsc -v
Version 4.2.4

I follow your video on


settings
When I click Play “Build project: GetStarted” and Build Button
It compiles ok… But not start web browser and this “simple” project.
This dialog is missing:
DialogMissing

If I click “Launch Web Preview Window” Button
I get “http://localhost:8888/engine.html
but F12 console
shows

Failed to load resource: the server responded with a status of 404 (File Not Found)
engine.html:388 RequestFileError: Error status: 404 File Not Found - Unable to load scenes/MyScene.gltf
at t [as constructor] (http://localhost:8888/scripts/babylon.min.js:16:632645)
at new t (http://localhost:8888/scripts/babylon.min.js:16:633047)
at XMLHttpRequest.g (http://localhost:8888/scripts/babylon.min.js:16:637075)

@MackeyK24
@Deltakosh

Is this any problem with latest “Babylon Editor Toolkit” or/and Unity 2020.3.4f1?
Can you help me find fix problem?
Did I missed anything?
Should I use any another version of Babylon Editor Toolkit for Unity 2020.3.4.f?

I don’t know exactly how to export project and share it on this forum?

Greetings
Ian

Hopefully you can get a reponse

Failed to load resource: the server responded with a status of 404 (File Not Found)
engine.html:388 RequestFileError: Error status: 404 File Not Found - Unable to load scenes/MyScene.gltf

Suggests that the issue is related to the webserver that hosts the exported scene for the web preview, however I’m not too familiar with the Unity exporter, maybe you can start by checking that the exported scene exists during the web preview? Maybe @MackeyK24 may know where we’re hosting these files from.

What I can say.
\Export\scenes\ Directory
is missing
“scenes/MyScene.gltf” file MyScene.gltf.
But I don’t know why, and what is happening begind. “Play” Button
Or 1. “Compile Script” 2. “Export Scene” 3.“Launch Web preview Window” ?

I have Scene inside [Game]/Scenes/MyScene
And
Scene Controller → with “Default Scene Controller” Script “SceneController” (and all deffault seetings inside)

Yeah… the toolkit is a bit different… Check out this tutorial i made for baking light… but a create the whole project fro scratch… I think you might just need to enable Web Project

take a look at the video in this thread

1 Like