ERROR: 'NoneType' object has no attribute 'checkReadyOnlyOnce'


i have adding to my Blenderobjects a new Material. While i exporting the Model with Babylon ver. 6.3.1 there is coming the Error ‘NoneType’ object has no attribute ‘checkReadyOnlyOnce’. I have looking and seeing, that checkReadyOnlyOnce can get selecting with a Checkbox.

I have selected and deselected the Checkboxes at every Object. But there is coming everytime this Error.
Also i have searched in the Internet but haven’t found helpfull things.

The complete Error:
========= An error was encountered =========
File “C:\Users\xx\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\babylon_js\”, line 112, in execute
mesh = Mesh(object, scene, self)
File “C:\Users\xx\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\babylon_js\”, line 146, in init
recipe = BakingRecipe(bpyMesh, exporter)
File “C:\Users\xx\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\babylon_js\materials\”, line 42, in init
bjsMaterial = BJSMaterial(bpyMaterial, exporter)
File “C:\Users\xx\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\babylon_js\materials\”, line 47, in init
self.checkReadyOnlyOnce = mat.checkReadyOnlyOnce
ERROR: ‘NoneType’ object has no attribute ‘checkReadyOnlyOnce’
========= end of processing =========
elapsed time: 0 min, 6.9003 secs

Have anyone an Idea?

@Stef, it could help if you uploaded your Blender file that you’re trying to export to .babylon.


sure. Forgot it.

You can download the Blender-File here:

@Stef, here are some revised .blend and .babylon files: (665.7 KB)

Here are the steps I took:

  1. Delete extra blank material

  2. Delete camera (by right clicking camera)

You can drag the .babylon file into and see that it should load fine!


I have also took out the exception being thrown for the empty material. It is in an update coming today with a couple of other things.