A repo to capture the work done from testing the importation of a .babylon file into the editor
Expected Dude.babylon:
(clearing/ new scene in between each action)
1. Frist action: Drag .babylon
file right in:
It's not immediately obvious that the textures needed to be added separately. Some other filetypes don't require this. You can drag the textures in later, and clicking the refresh on the Materials Viewer will update the materials, but the scene will be out of sync. there's not really a way to 'refresh' the scene here, so it looks wrong unless you know what is happening.
2. Second Action: Drag all files in simultaneously:
This mostly works, with two minor exceptions:
- The materials view didn't update quite right: Clicking Refresh doesn't fix this, but clicking the individual material does, thankfully seem to help.
- There is an error thrown in the console.
Uncaught (in promise) TypeError: Cannot read property 'name' of null at preview.html:101
is thrown in the console.
3. Third Action: Drag textures and THEN model in that order:
I chose the final state to save and reload.
- save project
- close editor.
- doubleclick the
scene.editorproject
Success. The mesh loads completely correctly, and even the materials viewer is in the right state now. A seemingly non-crashing error is in the console:Uncaught (in promise) TypeError: Cannot read property 'name' of null at preview.html:101
This is the same error from before in steps 2 and 3 of importing.