Unable to export animated character from Blender. #62858

Closed
opened 2019-03-22 19:59:50 +01:00 by Tetiana · 4 comments

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

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
Author

Added subscriber: @Farhuts

Added subscriber: @Farhuts
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Member

hi, you would be best to contact the authors of the addon. https://github.com/BabylonJS/Exporters/tree/master/Blender This tracker is for addons included in Blender. You could also try the built in glTF i/o in Blender 2.8.
Closing as invalid.

hi, you would be best to contact the authors of the addon. https://github.com/BabylonJS/Exporters/tree/master/Blender This tracker is for addons included in Blender. You could also try the built in glTF i/o in Blender 2.8. Closing as invalid.
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brendon Murphy self-assigned this 2019-05-26 04:21:06 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#62858
No description provided.