gltf2 not exporting animations in 3.0 #93704

Closed
opened 2021-12-05 15:54:54 +01:00 by justin barrett · 32 comments

System Information
Operating system: win10-64
Graphics card: rx5700xt

Blender Version
Broken: 3.0.0 initial release of 3.0 branch, fresh out of beta
Worked:2.93

Short description of error

cannot export animated meshes in 3.0 using gltf2 export, throwing a python error unknow location etc.

Exact steps for others to reproduce the error

  • Open .blend file
  • {nav File > Export > glTF 2.0}

Test File
actors.blend

Python: Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2_init_.py", line 637, in execute
return gltf2_blender_export.save(context, export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 46, in save
json, buffer = __export(export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 63, in __export
__gather_gltf(exporter, export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 77, in __gather_gltf
active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 39, in gather_gltf2
animations += __gather_animations(blender_scene, export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 83, in _gather_animations
animations
, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 76, in gather_animations
animation = __gather_animation(blender_action, blender_object, export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 114, in __gather_animation
channels=__gather_channels(blender_action, blender_object, export_settings),
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 149, in __gather_channels
return gltf2_blender_gather_animation_channels.gather_animation_channels(
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 65, in wrapper_cached
result = func(*args)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 43, in gather_animation_channels
groups = __get_channel_groups(blender_action, blender_object, export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 367, in __get_channel_groups
if rotation and target.rotation_mode not in rotation_modes:

AttributeError: 'Pose' object has no attribute 'rotation_mode'

location: <unknown location>:-1
**System Information** Operating system: win10-64 Graphics card: rx5700xt **Blender Version** Broken: 3.0.0 initial release of 3.0 branch, fresh out of beta Worked:2.93 **Short description of error** cannot export animated meshes in 3.0 using gltf2 export, throwing a python error unknow location etc. **Exact steps for others to reproduce the error** - Open .blend file - {nav File > Export > glTF 2.0} Test File [actors.blend](https://archive.blender.org/developer/F12692345/actors.blend) ```lines Python: Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\__init__.py", line 637, in execute return gltf2_blender_export.save(context, export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 46, in save json, buffer = __export(export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 63, in __export __gather_gltf(exporter, export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 77, in __gather_gltf active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 39, in gather_gltf2 animations += __gather_animations(blender_scene, export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 83, in __gather_animations animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 76, in gather_animations animation = __gather_animation(blender_action, blender_object, export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 114, in __gather_animation channels=__gather_channels(blender_action, blender_object, export_settings), File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 149, in __gather_channels return gltf2_blender_gather_animation_channels.gather_animation_channels( File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 65, in wrapper_cached result = func(*args) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 43, in gather_animation_channels groups = __get_channel_groups(blender_action, blender_object, export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 367, in __get_channel_groups if rotation and target.rotation_mode not in rotation_modes: ``` AttributeError: 'Pose' object has no attribute 'rotation_mode' location: <unknown location>:-1 ```
Author

Added subscriber: @justinbarrett

Added subscriber: @justinbarrett

blender/blender-addons#95061 was marked as duplicate of this issue

blender/blender-addons#95061 was marked as duplicate of this issue
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

cannot export animated meshes in 3.0 using gltf2 export, throwing a python error unknow location etc

Please include the exact error message text.

> cannot export animated meshes in 3.0 using gltf2 export, throwing a **python error unknow location etc** Please include the *exact* error message text.

Added subscriber: @antoine.grasset

Added subscriber: @antoine.grasset

And could you provide an example file to help developers reproduce the issue ?

And could you provide an example file to help developers reproduce the issue ?
Author

sure, sorry.
Python: Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\__init__.py", line 637, in execute
  return gltf2_blender_export.save(context, export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 46, in save
  json, buffer = __export(export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 63, in __export
  __gather_gltf(exporter, export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 77, in __gather_gltf
  active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 39, in gather_gltf2
  animations += __gather_animations(blender_scene, export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 83, in __gather_animations
  animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 76, in gather_animations
  animation = __gather_animation(blender_action, blender_object, export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 114, in __gather_animation
  channels=__gather_channels(blender_action, blender_object, export_settings),
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 149, in __gather_channels
  return gltf2_blender_gather_animation_channels.gather_animation_channels(
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 65, in wrapper_cached
  result = func(*args)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 43, in gather_animation_channels
  groups = __get_channel_groups(blender_action, blender_object, export_settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 367, in __get_channel_groups
  if rotation and target.rotation_mode not in rotation_modes:

AttributeError: 'Pose' object has no attribute 'rotation_mode'

location: :-1

sure, sorry. Python: Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\__init__.py", line 637, in execute return gltf2_blender_export.save(context, export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 46, in save json, buffer = __export(export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 63, in __export __gather_gltf(exporter, export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 77, in __gather_gltf active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 39, in gather_gltf2 animations += __gather_animations(blender_scene, export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 83, in __gather_animations animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 76, in gather_animations animation = __gather_animation(blender_action, blender_object, export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 114, in __gather_animation channels=__gather_channels(blender_action, blender_object, export_settings), File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py", line 149, in __gather_channels return gltf2_blender_gather_animation_channels.gather_animation_channels( File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 65, in wrapper_cached result = func(*args) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 43, in gather_animation_channels groups = __get_channel_groups(blender_action, blender_object, export_settings) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py", line 367, in __get_channel_groups if rotation and target.rotation_mode not in rotation_modes: ``` AttributeError: 'Pose' object has no attribute 'rotation_mode' location: <unknown location>:-1
Author

actors.blend
sorry, the file didn't want to upload in my prev response. If it is user error, please explain what I am doing wrong...I wouldn't have submitted this if I thought It was user errror..but things happen.

[actors.blend](https://archive.blender.org/developer/F12692345/actors.blend) sorry, the file didn't want to upload in my prev response. If it is user error, please explain what I am doing wrong...I wouldn't have submitted this if I thought It was user errror..but things happen.

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Thanks for the example blend file, I can reproduce the issue !

Python: Traceback (most recent call last):
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/__init__.py", line 637, in execute
    return gltf2_blender_export.save(context, export_settings)
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 46, in save
    json, buffer = __export(export_settings)
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 63, in __export
    __gather_gltf(exporter, export_settings)
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 77, in __gather_gltf
    active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 39, in gather_gltf2
    animations += __gather_animations(blender_scene, export_settings)
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 83, in __gather_animations
    animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings)
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 76, in gather_animations
    animation = __gather_animation(blender_action, blender_object, export_settings)
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 114, in __gather_animation
    channels=__gather_channels(blender_action, blender_object, export_settings),
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 149, in __gather_channels
    return gltf2_blender_gather_animation_channels.gather_animation_channels(
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 43, in gather_animation_channels
    groups = __get_channel_groups(blender_action, blender_object, export_settings)
  File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 367, in __get_channel_groups
    if rotation and target.rotation_mode not in rotation_modes:
AttributeError: 'Pose' object has no attribute 'rotation_mode'
Thanks for the example blend file, I can reproduce the issue ! ``` Python: Traceback (most recent call last): File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/__init__.py", line 637, in execute return gltf2_blender_export.save(context, export_settings) File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 46, in save json, buffer = __export(export_settings) File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 63, in __export __gather_gltf(exporter, export_settings) File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 77, in __gather_gltf active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings) File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 39, in gather_gltf2 animations += __gather_animations(blender_scene, export_settings) File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 83, in __gather_animations animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings) File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 76, in gather_animations animation = __gather_animation(blender_action, blender_object, export_settings) File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 114, in __gather_animation channels=__gather_channels(blender_action, blender_object, export_settings), File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 149, in __gather_channels return gltf2_blender_gather_animation_channels.gather_animation_channels( File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached result = func(*args) File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 43, in gather_animation_channels groups = __get_channel_groups(blender_action, blender_object, export_settings) File "/Applications/Blender 3.0.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 367, in __get_channel_groups if rotation and target.rotation_mode not in rotation_modes: AttributeError: 'Pose' object has no attribute 'rotation_mode' ```
Author

No, thank you for taking the time to look into this. I will go radio silent now, unless there is something more required from me. I don't want to make a bunch of white noise.

No, thank you for taking the time to look into this. I will go radio silent now, unless there is something more required from me. I don't want to make a bunch of white noise.

As you said it works in 2.93, but watching the console run during export I can see two batch of warnings that happens exactly when 3.0 throws an error !
You might want to have a look at you rig and troubleshoot these two PoseBones and their Animation Target :

xx:xx:xx | WARNING: Animation target pose.bones["bow_IK_lower"] not found
xx:xx:xx | WARNING: Animation target pose.bones["bow_IK_upper"] not found

Note to devs :

  • to debug I modified the code in the file /scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py
  • to follow the export process I inserted some prints just above the buggy line like so :
        print(target)        # DEBUG
        print(target.name)   # DEBUG
        if rotation and target.rotation_mode not in rotation_modes:
As you said it works in 2.93, but watching the console run during export I can see two batch of warnings that happens exactly when 3.0 throws an error ! You might want to have a look at you rig and troubleshoot these two PoseBones and their Animation Target : ``` xx:xx:xx | WARNING: Animation target pose.bones["bow_IK_lower"] not found xx:xx:xx | WARNING: Animation target pose.bones["bow_IK_upper"] not found ``` Note to devs : - to debug I modified the code in the file `/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py` - to follow the export process I inserted some prints just above the buggy line like so : ``` print(target) # DEBUG print(target.name) # DEBUG if rotation and target.rotation_mode not in rotation_modes: ```
Author

it seems all the bow armatures are missing. I'm not sure if they were dropped as well when I saved over the original file from 2.93 to 3.0. I had not made any changes or deleted anything..so I'm uncertain. but I can check if by adding those armatures it restores functionality.

I see, this part is user error, they were not selected. I had them on a protected layer(embarrassing)...but it still drops all the weights going back to 2.93.

it seems all the bow armatures are missing. I'm not sure if they were dropped as well when I saved over the original file from 2.93 to 3.0. I had not made any changes or deleted anything..so I'm uncertain. but I can check if by adding those armatures it restores functionality. I see, this part is user error, they were not selected. I had them on a protected layer(embarrassing)...but it still drops all the weights going back to 2.93.
Author

seems I still get the same error.

seems I still get the same error.
Contributor

Added subscriber: @scurest

Added subscriber: @scurest
Contributor

This (the error when exporting) is caused by a change in Python API. In 2.93

ob.path_resolve('pose.bones["Non-existent bone"]')

raises a ValueError. In 3.0, it successfully returns ob.pose. The glTF exporter is expecting the 2.93 behavior. I don't know if this is an intended change or not.

This (the error when exporting) is caused by a change in Python API. In 2.93 ``` ob.path_resolve('pose.bones["Non-existent bone"]') ``` raises a ValueError. In 3.0, it successfully returns `ob.pose`. The glTF exporter is expecting the 2.93 behavior. I don't know if this is an intended change or not.
Author

I want to interject I can go back to 3.0.0 alpha 2021-08-06 and it works fine.

I want to interject I can go back to 3.0.0 alpha 2021-08-06 and it works fine.
Contributor

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Contributor

Actually x.path_resolve('P.collection["non-existent"]') appears to always resolve to x.path_resolve('P') now.

Possibly related to f9ccd26? Maybe @ideasman42 could look?

Actually `x.path_resolve('P.collection["non-existent"]')` appears to always resolve to `x.path_resolve('P')` now. Possibly related to f9ccd26? Maybe @ideasman42 could look?
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

2.93...BUT saving in 3.0 and returning to 2.93 removes all weight data(vertex groups)

Hi, This is an expected behavior as said in the commit description 3b6ee8cee7
so I am removing that part from your report.

Also a message displays after opening the file in older versions: File written by newer Blender binary (300.11), expect loss of data!

> 2.93...BUT saving in 3.0 and returning to 2.93 removes all weight data(vertex groups) Hi, This is an expected behavior as said in the commit description 3b6ee8cee7 so I am removing that part from your report. Also a message displays after opening the file in older versions: `File written by newer Blender binary (300.11), expect loss of data!`
Pratik Borhade changed title from blender 3.0 to 2.93 drops vertex groups. gltf2 not exporting animations in 3.0 to gltf2 not exporting animations in 3.0 2021-12-08 11:39:14 +01:00
Author

noted.

noted.
Member

Added subscriber: @JulienDuroure

Added subscriber: @JulienDuroure
Member

Potential fix: https://github.com/KhronosGroup/glTF-Blender-IO/pull/1498
Not sure if this workaround works for all cases

I would like to include glTF2 fix in corrective release #93479

Potential fix: https://github.com/KhronosGroup/glTF-Blender-IO/pull/1498 Not sure if this workaround works for all cases I would like to include glTF2 fix in corrective release #93479
Contributor

Shouldn't path_resolve get fixed instead?

Can confirm the change in path_resolve was caused by f9ccd26. It doesn't happen when going back to RNA_path_resolve_full.

Shouldn't path_resolve get fixed instead? Can confirm the change in path_resolve was caused by f9ccd26. It doesn't happen when going back to `RNA_path_resolve_full`.
Member

Shouldn't path_resolve get fixed instead?

Of course fixing path_resolve would be a better fix than my workaround. Still waiting feedback from @ideasman42 to know if this is a regression or attended new feature
Anyway, fixing path_resolve or glTF workaround --> One one these two must be in corrective release

> Shouldn't path_resolve get fixed instead? Of course fixing path_resolve would be a better fix than my workaround. Still waiting feedback from @ideasman42 to know if this is a regression or attended new feature Anyway, fixing path_resolve or glTF workaround --> One one these two must be in corrective release
Member

Adding PythonAPI tag, as this seems to be a regression in API. At least, this change is not documented in release note compatibility

Adding PythonAPI tag, as this seems to be a regression in API. At least, this change is not documented in release note compatibility
Campbell Barton self-assigned this 2021-12-13 12:54:08 +01:00

This issue was referenced by ad4d66580e

This issue was referenced by ad4d66580e813bf58dbf32f3a0d6b850b91223b8

This issue was referenced by 8709cbb73e

This issue was referenced by 8709cbb73e7d76970780efa2cb6084c881809e2b

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Member

Thanks Campbell!

Thanks Campbell!

Added subscriber: @EvgenyRodygin

Added subscriber: @EvgenyRodygin
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
9 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#93704
No description provided.