I want to import FBX with blend shape from Maya and export it as glb. #82246

Closed
opened 2020-10-30 04:14:27 +01:00 by lisa takahashi · 10 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Quadro P2000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48

Blender Version
Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash: blender/blender@3e85bb34d0
Worked: (newest version of Blender that worked as expected)

Short description of error
[Please fill out a short description of the error here]
Hello, I'm Japanese.
I am not good at English and use the translation function.
I'm sorry if it's hard to understand.

I want to export an animation with two blend shapes in Maya in glb, but it doesn't work.
I get the following error:

Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\__init__.py", line 216, in execute
  if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}:
File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 2896, in load
  _(); del _
File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 2894, in _
  keyblocks = blen_read_shape(fbx_tmpl, fbx_sdata, fbx_bcdata, meshes, scene)
File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 1382, in blen_read_shape
  assert(len(vgweights) == nbr_indices == len(dvcos))

AssertionError

location: :-1

Is it possible to put an FBX with a blend shape in a blender and export it to glb or gltf?
Thank you.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]
Import FBX from Maya to blender (2 blend shapes) → Mesh breaks.
Some models could be imported with Alembic.
Blend shapes are applied in Maya and Unity, so I think that FBX contains the blend shape data. (Maybe...)

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Quadro [P2000](https://archive.blender.org/developer/P2000.txt)/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48 **Blender Version** Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash: `blender/blender@3e85bb34d0` Worked: (newest version of Blender that worked as expected) **Short description of error** [Please fill out a short description of the error here] Hello, I'm Japanese. I am not good at English and use the translation function. I'm sorry if it's hard to understand. I want to export an animation with two blend shapes in Maya in glb, but it doesn't work. I get the following error: --- Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\__init__.py", line 216, in execute if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 2896, in load _(); del _ File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 2894, in _ keyblocks = blen_read_shape(fbx_tmpl, fbx_sdata, fbx_bcdata, meshes, scene) File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 1382, in blen_read_shape assert(len(vgweights) == nbr_indices == len(dvcos)) ``` AssertionError location: <unknown location>:-1 --- Is it possible to put an FBX with a blend shape in a blender and export it to glb or gltf? Thank you. **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] Import FBX from Maya to blender (2 blend shapes) → Mesh breaks. Some models could be imported with Alembic. Blend shapes are applied in Maya and Unity, so I think that FBX contains the blend shape data. (Maybe...)
Author

Added subscriber: @henachokomayuge

Added subscriber: @henachokomayuge

Added subscriber: @nicholashawkes

Added subscriber: @nicholashawkes
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Is it possible to put an FBX with a blend shape in a blender and export it to glb or gltf?

I think it should, but could you share the .fbx file that fails to import into blender?

> Is it possible to put an FBX with a blend shape in a blender and export it to glb or gltf? I think it should, but could you share the .fbx file that fails to import into blender?
Author

Thank you for answering!
I'm sorry, but I can't share it because it's Company work data.
However, I gave up on Blend Shape and finished this work safely.
Can you tell me the possible causes for your reference?

Thank you for answering! I'm sorry, but I can't share it because it's Company work data. However, I gave up on Blend Shape and finished this work safely. Can you tell me the possible causes for your reference?

Added subscriber: @ThomasWright

Added subscriber: @ThomasWright

I'm having the same issue trying to import a character that I previously exported with Blender. I'm working in UE4 and tried exporting my same character back getting the same errors as above. Here is the FBX...

https://www.dropbox.com/s/rngly7dgffs8naf/Convo_11_Listening_Loop.FBX?dl=0

Here is my error from the log...

Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\io_scene_fbx\__init__.py", line 216, in execute
    if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}:
  File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\io_scene_fbx\import_fbx.py", line 2901, in load
    _(); del _
  File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\io_scene_fbx\import_fbx.py", line 2899, in _
    keyblocks = blen_read_shape(fbx_tmpl, fbx_sdata, fbx_bcdata, meshes, scene)
  File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\io_scene_fbx\import_fbx.py", line 1388, in blen_read_shape
    assert(len(vgweights) == nbr_indices == len(dvcos))
AssertionError

location: <unknown location>:-1
I'm having the same issue trying to import a character that I previously exported with Blender. I'm working in UE4 and tried exporting my same character back getting the same errors as above. Here is the FBX... https://www.dropbox.com/s/rngly7dgffs8naf/Convo_11_Listening_Loop.FBX?dl=0 Here is my error from the log... ``` Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\io_scene_fbx\__init__.py", line 216, in execute if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}: File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\io_scene_fbx\import_fbx.py", line 2901, in load _(); del _ File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\io_scene_fbx\import_fbx.py", line 2899, in _ keyblocks = blen_read_shape(fbx_tmpl, fbx_sdata, fbx_bcdata, meshes, scene) File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\addons\io_scene_fbx\import_fbx.py", line 1388, in blen_read_shape assert(len(vgweights) == nbr_indices == len(dvcos)) AssertionError location: <unknown location>:-1 ```
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Closed as duplicate of #94670

Closed as duplicate of #94670
Sign in to join this conversation.
No Milestone
No project
No Assignees
6 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#82246
No description provided.