Hi ,
I entered this as UE-32283 recently. It is expected to be fixed in 4.12.4. Essentially the Animations were not being marked as “dirty” (aka, needs to be saved) when you import them with a mesh and as a result weren’t being saved when closing the editor. Please manually select your animations in the content browser, right click, then select save to work around this.
Thanks for reporting it!!