EdyJ / blender-to-unity-fbx-exporter

FBX exporter addon for Blender compatible with Unity's coordinate and scaling system.
MIT License
947 stars 98 forks source link

Exporting with broken modifier breaks shapekeys. #27

Open NotAKidoS opened 1 year ago

NotAKidoS commented 1 year ago

Exporting a model with a broken/unassigned modifier attached will prevent any shapekeys from exporting.

EdyJ commented 1 year ago

Try exporting it with the standard FBX exporter. Has it the same issue?

NotAKidoS commented 1 year ago

Nope. Default FBX exporter works fine and keeps shapekeys.

NotAKidoS commented 1 year ago

Recorded an example- seems to only happen if the modifier targeted an object that was deleted. Adding an empty modifier doesn't seem to trigger the bug. https://user-images.githubusercontent.com/37721153/186363739-6ac922cf-0830-480e-94c1-932f1df65aa4.mp4

EdyJ commented 1 year ago

Thanks for the video. Does saving and reloading the file right after removing the modifier makes any difference? Try this:

  1. Remove the modifier
  2. Save the Blender file
  3. Reload the Blender file (File > Revert)
  4. Export to FBX
AraHaan commented 11 months ago

I was able to reproduce it as well, but sadly with me, it seems the thing does not revert all changes and if I save said files the shape keys are permanently lost then forcing me to restart all of my work over from scratch as I am using this exporter for a vrchat avatar.

FairplexVR commented 11 months ago

probably a duplicate issue of #40

Blender will never export blendshapes with unassigned modifiers others than the Armature modifier.

Screenshot_1