EdyJ / blender-to-unity-fbx-exporter

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

Unable to export after deleting an object. #17

Closed Davidnovarro closed 1 year ago

Davidnovarro commented 4 years ago

I've encountered an exception when trying to export the scene right after removing one of the objects.

How to reproduce: 1) Open an empty blender scene 2) In object mode add two Cube objects. 3) Remove one. 4) Try to export without selecting any object. (File > Export > Unity FBX)

Throws an exception "context is incorrect".

Screenshot - https://i.imgur.com/teWwMKt.png I'm using Blender version 2.90.1

EdyJ commented 3 years ago

Thank you for reporting. I've reproduced this issue also in 2.83.5. I'll take a good look at it.

EdyJ commented 3 years ago

BTW, the workaround is simply select some object before exporting.

Davidnovarro commented 3 years ago

BTW, the workaround is simply select some object before exporting. I knew it, I was struggling like 15 minutes until I accidentally selected an object and then tried to export :)

"4) Try to export without selecting any object. (File > Export > Unity FBX)"