I have a Blender file containing over 100 objects for a game I’m developing in Unity. When ever I make modifications, I run a script that exports each root object as a separate fbx file. However I have no way of detecting which objects have been updated since the last export, so I have to re-export every single object even though I’ve only created/modified 1. The time it takes to run the script is about 10 seconds, but then Unity detects the changed files (all of them) and spends over 30 seconds processing mostly unchanged prefabs.
How can I improve my script so that it knows which objects have been altered since the last export? There does not appear to be any date_modified variable for objects or meshes, so I’m a bit stumped where I go from here.