Page MenuHome

Unable to export animated character from Blender.
Open, Needs Triage by DeveloperPublic

Description

Hello there!
System Information
Operating system: macOS High Sierra, version 10.13.6
Graphics card: Intel HD Graphics 5000 1536 MB

Blender Version
Tried 2.79 and 2.80

Short description of error
I'm trying to export a character from blender v.2.79 (tried as well v.2.80), and it throws me an error.

Exact steps for others to reproduce the error
Exporter version: 5.6.4, Blender version: 2.79 (sub 0)

Conversion from Blender to Babylon.js

Scene settings used :

		export scope        :  ALL
		inline textures     :  false
		Positions Precision :  4
		Normals Precision   :  3
		UVs Precision       :  3
		Vert Color Precision:  3
		Mat Weight Precision:  2
		texture directory   :  /Users/Tatenius/Desktop/senior/marshmello/

Python World class constructor completed
processing begun of skeleton: Armature, id: 0

		processing begun of bone:  rootBone, index:  0
		processing begun of bone:  Spine1, index:  1
		processing begun of bone:  Neck, index:  2
		processing begun of bone:  Head, index:  3
		processing begun of bone:  Left arm, index:  4
		processing begun of bone:  Left shoulder, index:  5
		processing begun of bone:  Left hand, index:  6
		processing begun of bone:  Right arn, index:  7
		processing begun of bone:  Right shoulder, index:  8
		processing begun of bone:  Right hand, index:  9
		processing begun of bone:  Left leg, index:  10
		processing begun of bone:  Left knee, index:  11
		processing begun of bone:  Below Lt knee, index:  12
		processing begun of bone:  Left foot, index:  13
		processing begun of bone:  Right leg, index:  14
		processing begun of bone:  Right knee, index:  15
		processing begun of bone:  Below Rt knee, index:  16
		processing begun of bone:  Right foot, index:  17
		processing action ArmatureAction:  in[0 - 23], out[0 - 23]

processing begun of mesh: Cube.001

An error was encountered
File "/Users/Tatenius/Library/Application Support/Blender/2.79/scripts/addons/babylon-js/json_exporter.py", line 107, in execute
  mesh = Mesh(object, scene, self)
File "/Users/Tatenius/Library/Application Support/Blender/2.79/scripts/addons/babylon-js/mesh.py", line 158, in __init__
  recipe = BakingRecipe(object)
File "/Users/Tatenius/Library/Application Support/Blender/2.79/scripts/addons/babylon-js/material.py", line 206, in __init__
  self.backFaceCulling &= material.game_settings.use_backface_culling

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

end of processing

elapsed time: 0 min, 0.0493 secs
ers/Tatenius/Library/Application Support/Blender/2.80/scripts/addons/babylon_js/materials/material.py", line 42, in init

self.checkReadyOnlyOnce = mat.checkReadyOnlyOnce

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

end of processing

elapsed time: 0 min, 0.0957 secs

I would very much appreciate any help! Thanks

Details

Type
Bug

Event Timeline