Under review

Update Existing File doesn't reimport the FBX

Joe Fender 3 weeks ago updated 5 hours ago 3

When exporting animations with the Update Existing File write mode. After the export is finished, I have to right click the FBX file in the Unity Project window and manually Re-import the asset otherwise the new animation doesn't show.

Would it be possible for you to automate that so we don't have to do that every time? Or a way I can hook into the export to do it myself? Thanks!

UMotion Version:
1.29p04
Unity Version:
6000.1.2f1
Under review

Hi Joe,
thank you very much for your support request. It really should reload the FBX automatically. I will have to investigate.

And yes, as a workaround you can also do it via scripting yourself using the UMotion API: https://www.soxware.com/umotion-manual/UMotionAPI.html

What you can do is you create a custom menu button via 

ClipEditor.AddMenuItem()


And then use

ClipEditor.ExportCurrentClip()

Followed by your code that reloads the fbx asset.

Best regards,
Peter

Thanks, Peter, I got that working. For anyone that is interested, here is the script:

UMotionExtensions.cs

Oops - that comment above was from me, I just forgot to login before posting.