ian Posted May 8, 2017 Share Posted May 8, 2017 I have some model and when I would like to export it I get error Traceback (most recent call last): File " .config/blender/2.78/scripts/addons/babylon-js/__init__.py", line 84, in execute exporter.execute(context, self.filepath) File " .config/blender/2.78/scripts/addons/babylon-js/json_exporter.py", line 99, in execute mesh = Mesh(object, scene, nextStartFace, forcedParent, nameID, self) File " .config/blender/2.78/scripts/addons/babylon-js/mesh.py", line 148, in __init__ recipe = BakingRecipe(object) File " .config/blender/2.78/scripts/addons/babylon-js/material.py", line 190, in __init__ self.isBillboard = len(mesh.material_slots) == 1 and mesh.material_slots[0].material.game_settings.face_orientation == 'BILLBOARD' AttributeError: 'NoneType' object has no attribute 'game_settings' location: <unknown location>:-1 Can anybody help me? What could be wrong? Ian Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 8, 2017 Share Posted May 8, 2017 ping our Blender exporter expert ( @JCPalmer ) Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted May 8, 2017 Share Posted May 8, 2017 Not all your meshes have a material or even a material set of slots. 2nd time in a week. Maybe put on my list to do something. gryff and GameMonetize 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.