Jump to content

export error


toly1917
 Share

Recommended Posts

in case of export to babylon.js the file appears an error.

LOG:

 

Babylon.js Exporter version: 1.8.0, Blender version: 2.74 (sub 0)
========= Conversion from Blender to Babylon.js =========
Python World class constructor completed
processing begun of material:  untitled.Material__40
Ambient texture found
Diffuse texture found
processing begun of skeleton:  Armature, id:  0
processing begun of bone:  mixamorig:Hips, index:  0
animation begun of bone:  mixamorig:Hips
processing begun of bone:  mixamorig:Spine, index:  1
animation begun of bone:  mixamorig:Spine
processing begun of bone:  mixamorig:Spine1, index:  2
animation begun of bone:  mixamorig:Spine1
processing begun of bone:  mixamorig:Spine2, index:  3
animation begun of bone:  mixamorig:Spine2
processing begun of bone:  mixamorig:Neck, index:  4
animation begun of bone:  mixamorig:Neck
processing begun of bone:  mixamorig:Head, index:  5
animation begun of bone:  mixamorig:Head
processing begun of bone:  mixamorig:HeadTop_End, index:  6
animation begun of bone:  mixamorig:HeadTop_End
processing begun of bone:  mixamorig:LeftShoulder, index:  7
animation begun of bone:  mixamorig:LeftShoulder
processing begun of bone:  mixamorig:LeftArm, index:  8
animation begun of bone:  mixamorig:LeftArm
processing begun of bone:  mixamorig:LeftForeArm, index:  9
animation begun of bone:  mixamorig:LeftForeArm
processing begun of bone:  mixamorig:LeftHand, index:  10
animation begun of bone:  mixamorig:LeftHand
processing begun of bone:  mixamorig:LeftHandIndex1, index:  11
animation begun of bone:  mixamorig:LeftHandIndex1
processing begun of bone:  mixamorig:LeftHandIndex2, index:  12
animation begun of bone:  mixamorig:LeftHandIndex2
processing begun of bone:  mixamorig:LeftHandIndex3, index:  13
animation begun of bone:  mixamorig:LeftHandIndex3
processing begun of bone:  mixamorig:LeftHandIndex4, index:  14
animation begun of bone:  mixamorig:LeftHandIndex4
processing begun of bone:  mixamorig:RightShoulder, index:  15
animation begun of bone:  mixamorig:RightShoulder
processing begun of bone:  mixamorig:RightArm, index:  16
animation begun of bone:  mixamorig:RightArm
processing begun of bone:  mixamorig:RightForeArm, index:  17
animation begun of bone:  mixamorig:RightForeArm
processing begun of bone:  mixamorig:RightHand, index:  18
animation begun of bone:  mixamorig:RightHand
processing begun of bone:  mixamorig:RightHandIndex1, index:  19
animation begun of bone:  mixamorig:RightHandIndex1
processing begun of bone:  mixamorig:RightHandIndex2, index:  20
animation begun of bone:  mixamorig:RightHandIndex2
processing begun of bone:  mixamorig:RightHandIndex3, index:  21
animation begun of bone:  mixamorig:RightHandIndex3
processing begun of bone:  mixamorig:RightHandIndex4, index:  22
animation begun of bone:  mixamorig:RightHandIndex4
processing begun of bone:  mixamorig:LeftUpLeg, index:  23
animation begun of bone:  mixamorig:LeftUpLeg
processing begun of bone:  mixamorig:LeftLeg, index:  24
animation begun of bone:  mixamorig:LeftLeg
processing begun of bone:  mixamorig:LeftFoot, index:  25
animation begun of bone:  mixamorig:LeftFoot
processing begun of bone:  mixamorig:LeftToeBase, index:  26
animation begun of bone:  mixamorig:LeftToeBase
processing begun of bone:  mixamorig:LeftToe_End, index:  27
animation begun of bone:  mixamorig:LeftToe_End
processing begun of bone:  mixamorig:RightUpLeg, index:  28
animation begun of bone:  mixamorig:RightUpLeg
processing begun of bone:  mixamorig:RightLeg, index:  29
animation begun of bone:  mixamorig:RightLeg
processing begun of bone:  mixamorig:RightFoot, index:  30
animation begun of bone:  mixamorig:RightFoot
processing begun of bone:  mixamorig:RightToeBase, index:  31
animation begun of bone:  mixamorig:RightToeBase
processing begun of bone:  mixamorig:RightToe_End, index:  32
animation begun of bone:  mixamorig:RightToe_End
processing complete of skeleton:  Armature
processing begun of mesh:  Mesh_0326
WARNING:  No materials have been assigned: 
num positions      :  186
num normals        :  186
num uvs            :  372
num uvs2           :  0
num colors         :  0
num indices        :  186
num skeletonWeights:  744
num skeletonIndices:  744
processing begun of mesh:  Mesh_0248
WARNING:  No materials have been assigned: 
num positions      :  2592
num normals        :  2592
num uvs            :  5184
num uvs2           :  0
num colors         :  0
num indices        :  2592
num skeletonWeights:  10368
num skeletonIndices:  10368
processing begun of mesh:  Mesh_0260
WARNING:  No materials have been assigned: 
num positions      :  7212
num normals        :  7212
num uvs            :  14424
num uvs2           :  0
num colors         :  0
num indices        :  7212
num skeletonWeights:  28848
num skeletonIndices:  28848
processing begun of mesh:  Mesh_0215
WARNING:  No materials have been assigned: 
num positions      :  120
num normals        :  120
num uvs            :  240
num uvs2           :  0
num colors         :  0
num indices        :  120
num skeletonWeights:  480
num skeletonIndices:  480
processing begun of mesh:  Mesh_0251
WARNING:  No materials have been assigned: 
num positions      :  2034
num normals        :  2034
num uvs            :  4068
num uvs2           :  0
num colors         :  0
num indices        :  2034
num skeletonWeights:  8136
num skeletonIndices:  8136
processing begun of mesh:  Mesh_0201
WARNING:  No materials have been assigned: 
num positions      :  72
num normals        :  72
num uvs            :  144
num uvs2           :  0
num colors         :  0
num indices        :  72
num skeletonWeights:  288
num skeletonIndices:  288
processing begun of mesh:  Mesh_0325
WARNING:  No materials have been assigned: 
num positions      :  126
num normals        :  126
num uvs            :  252
num uvs2           :  0
num colors         :  0
num indices        :  126
num skeletonWeights:  504
num skeletonIndices:  504
processing begun of mesh:  Mesh_0244
========= An error was encountered =========
  File "E:\Steam\steamapps\common\Blender\2.74\scripts\addons\io_export_babylon.py", line 280, in execute
    mesh = Mesh(object, scene, self.multiMaterials, nextStartFace, forcedParent, nameID, self.export_noVertexOpt)
  File "E:\Steam\steamapps\common\Blender\2.74\scripts\addons\io_export_babylon.py", line 615, in __init__
    self.billboardMode = BILLBOARDMODE_ALL if object.material_slots[0].material.game_settings.face_orientation == 'BILLBOARD' else BILLBOARDMODE_NONE;
ERROR:  'NoneType' object has no attribute 'game_settings'
========= end of processing =========
 
Blender version 2.74
Link to comment
Share on other sites

I ran a blend, against 2.74, but did not get error.  What renderer are you using?  When render is set to "Blender Game", you get a game settings section in material properties.  I set to Bilboard, it generated a 7, BILLBOARD_ALL.  Was using Tower of Babel, but this is same in this pass.

post-8492-0-56081300-1433351396.png

Also, this was against "Mesh_0244".  The 7 before worked.  What material does 0244 have?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...