Answered

Editing the hierachy of a GameObject

MrX 5 months ago updated by Peter - Soxware Developer 4 weeks ago 3

I get the following error.

Editing the hierachy of a GameObject that is currently used as UMotion preview object is not allowed. The GameObject is going to be removed as UMotion preview Object.

https://i.imgur.com/puy04Dm.png

When trying to add my player prefab from the scene to the PoseEditor. 

Do you have any idea what might be causing this?

UMotion Version:
1.22p11
Unity Version:
2020.1.4f1

Answer

Answer
Answered

Hi,
thank you very much for your support request.

I guess you've created a prefab of your player character while it was assigned to UMotion. That means that the prefab still has the "UMotion Lock" component in it.


To fix this, either open the prefab and remove the "UMotion Lock" component manually.

Or if you have the prefab in your scene, click on "Clear" in the pose editor and then save all current changes of the prefab instance to the prefab (UMotion removed the component automatically for you in that case).

Please let me know in case you have any follow-up questions.

Best regards,

Peter

Answer
Answered

Hi,
thank you very much for your support request.

I guess you've created a prefab of your player character while it was assigned to UMotion. That means that the prefab still has the "UMotion Lock" component in it.


To fix this, either open the prefab and remove the "UMotion Lock" component manually.

Or if you have the prefab in your scene, click on "Clear" in the pose editor and then save all current changes of the prefab instance to the prefab (UMotion removed the component automatically for you in that case).

Please let me know in case you have any follow-up questions.

Best regards,

Peter

Hi,

No matter what I do (and I didn't create a prefab with a IMotion Lock component) and I get this same exact message and the preview gets removed from the Pose Editor...

Hi,

thank you very much for your support request.

  1. Are you using the latest version of UMotion (currently V1.23)? You can check this by clicking on "Help --> About UMotion" in the clip editor. If not, please delete the "UMotionEditor" folder and install the latest version of UMotion from the asset store again.
  2. Have you tried deleting the TIWPlayer1 from your scene and creating a new instance of it (by dragging it from the project window into the scene). Does it work with the new instance?
  3. If all of this doesn't help, could you please create a minimum reproduction case so that I can further debug this (i.e. an empty Unity project that only includes what I need to reproduce your issue: the TIWPLayer1 character and the related UMotion project)? Please verify that the issue still happens in the repo project before sending. You can send this to me via the email support form (or request a link to my Dropbox via said form).

Thank you very much.

Best regards,
Peter