0 votes
asked in Animation Converter by
recategorized
Is this normal? I generate the animation by script, is there any modification I can do about the legacy animation to improve the performance?

 

I am using a 3.6G i7 with 24G mem by the way.

1 Answer

0 votes
answered by Expert (164k points)
selected by
 
Best answer

Hi Fengkan,
thank you very much for your support request.

That's indeed strange. Does it also take so long if you do the conversion in an empty Unity project (that just contains your model, the animation and the converter)? If so, may I ask you to send me that empty project via the email support form (please remove the library and obj folders before creating a *.zip of the project)? If the project still is too big, you can request a link to my Dropbox by writing me a short email (via the form mentioned above).

Thank you very much.

Best regards,
Peter

commented by
Thank you, Peter, I am glad I asked. I have sent you the project via support form, please check it out.
commented by
Hi, Peter, just wondering whether there is any progress on this. Please take your time.
commented by Expert (164k points)
Hi Fengkan,
thank you very much for reminding me on this issue. I think I've either missed or haven't received the project. May I ask you to re-send the project? Really sorry for this.

Best regards,
Peter
commented by
Never mind, Peter, I have sent a google drive link via the email support form, please have a look. Thank you.
commented by Expert (164k points)
Hi Fengkan,
thank you very much for re-sending me the project.

I just tested converting the animation using your project on my ~3 years old notebook (with an intel i5 processor). The convertion took roughly a second.

Can you confirm that the issue is also happening for you in the "empty" project that you've sent to me? Could you post your system's specs?

Maybe try to do a full restart of your PC in case you usually go into sleep-mode. This will ensure that your RAM gets freed (if the system is running out of RAM, it starts using the hard-drive as RAM which makes everything really slow).

Btw. I was using Unity 2018.3 for my tests (as I didn't had Unity 2018.2 installed). Maybe upgrading to a new Unity version might help.

Best regards,
Peter
commented by
Hi, Peter, thank you for the testing. That's strange. I have tried using 2018.3 before, and I also tried 2019.1 today, but the result is the same.

The conversion progress bar actually runs very quickly, but then the "Animation Converter - Report" dialog pops up, and it takes several minutes for it to become clickable. During that time, the CPU utilization keeps running high. And the size of the result anim file is 2KB until I close the report dialog and save the project in Unity editor.

I have also tried both lossless and lossy mode by the way.

As for my computers' spec, I am using a 3.6GHz i7-4790, 24G mem, and Win10. Please tell me if you need anything else, thank you.
commented by Expert (164k points)

Wow you have quite a beefy rig yes

That's very odd, this is definetely not happening on my PC (the dialog is immediately clickable).

Ok if the "Animation Converter - Report" Dialog is already shown, then the whole convertion has been already finished at this time. That also means that the animation converter might not be directly responsible for that freeze. It's probably Untiy that tries to save the created animation file to disk. It's hard to tell what's the reason as I have no possibility to debug Unity's internal behaviour...

Are you familiar with using the Unity Profiler? If you want and this "freeze" really breaks your workflow, you could try to use the profiler to find out which method causes this long freeze. Make sure to enable "Deep Profile" so that you are able to trace all the way down. That's what I would do if the problem would be reproduceable on my PC. Please let me know if you find something out.

As a workaround, it might help if you convert multiple animations at a time. Chances are that the time of the "freeze" stays the same even (but you only have it once for all your animations).

Best regards,
Peter

commented by
Thank you, Peter. The information you have given is very helpful, I will have a look at the Profiler to try my luck.

Best regards,
Fengkan

Soxware Support

Here you get official product support by the developer and the community for all Soxware Products for Unity®.

Post as guest, login via Facebook or create an account.

Ask questions, report bugs or provide feedback. Please use the correct category and always post in english.

For private email support, please use the Support Form to create a support ticket.

Copyright © 2017 Soxware Interactive | All Rights Reserved | Impressum

...