Showing blue screen with Unity Babylon exporter is run

I added the Babylon exporter unity asst into my project. Made the setting mentioned in the getting started guide, and when I try to run the project, the browser window loads up with a blank blue screen.

I tried both with 2d and 3d projects.

Why is nothing shown in screen?

Sounds like you’re getting errors, can you check your console log in the browser.

No, there are no console errors in the browser or in unity’s console.

can you check your console log in the browser.

In the browser, Unity is not debugging anything since it builds out the code. :slight_smile:

There are no errors in browser console also.
Where should I look next?

99% of the time you will get a console error, telling you what’s wrong. Can you screenshot the console log just to make sure you’re checking the right thing.

You could be missing the camera but you would be able to tell.

I am stuck. Can you help?

There is a progress. I changed the background colour of Main camera, and that changed when I preview in browser.
So, the camera is getting loaded. But, the objects in the scene are not.
Any clue?

I would type “scene.meshes” (no quotes) in console input and see. You can then look at meshes and check if it is loaded.

I typed that in console and I got 62 t objects
[t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t, t]

And yes, all the unity game objects are listed as objects in the above list of t’s.
But none of them are displayed.

I would check the scaling first. Passing a bad var to scaling can render it as scaling 0. You can also check the position (make sure it is not below ground or something). If you know your meshes name you can just use scene.getMeshByName(‘mesh_name_here’) to look at the single mesh. Might be easier than going through of them.

The scenes are there, meshes are there, but nothing is shown in browser, only a blank screen.

Ping @MackeyK24 the master of the unity exporter.

Can you zip up the whole project folder or make a unity package with the project and send to me… I’ll take a look at it

2 Likes

Could you please share your email?

The project is almost 500mb in size when zipped.
Shall i mak a sample project and upload here?

MackeyK24@gmail.com

1 Like