KhronosGroup / glTF-Blender-IO

Blender glTF 2.0 importer and exporter
https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html
Apache License 2.0
1.5k stars 319 forks source link

For material animation, using modifiers will cause it to fail to export #2417

Open Maiev-42 opened 4 days ago

Maiev-42 commented 4 days ago

Describe the bug made a simple material animationonly made a simple material animation. If a modifier is added (such as solidification), it will cause an error when exporting. If the modifier is removed, it can be exported normally.

To Reproduce Steps to reproduce the behavior:

  1. I created a plane and added a material animation to the alpha channel of the plane
  2. Pushed the material animation into NLA
  3. Added a solidification modifier to the plane 微信截图_20241125184709
  4. Exported the mesh, and the export settings are as shown below. You will find an error pop-up window 3 4

5.Apply the modifier and export with the same settings. You will find that it can be exported normally and has animation. 5

.blend file/ .gltf (mandatory) test modifier.zip

Version OS: Window 11 Blender Version 4.3.0 addon version 4.3.47

Additional context I have conducted multiple tests and found that it does not matter what modifier is used. As long as the modifier is used, the material animation export will be reported incorrectly.

This problem has the greatest impact on the use of geometric nodes and material animation, which makes it impossible to directly export geometric nodes, making the back and forth modification work very heavy.

julienduroure commented 4 days ago

Hello, I can confirm the crash. Investigation in progress