Not a bug

Error when selecting an object to animate

ActioNik 2 years ago updated by Peter - Soxware Developer 2 years ago 1

When I choose an object (any object) to animate, I get this error:

Can't add script behaviour 'UMotionLock' because it is an editor script. To attach a script it needs to be outside the 'Editor' folder.
UMotionLock.ΉΊΉΊΉΊΉΊΉΉΉΉΉΊΊΉΉΉΉΉΉΊΉΊΊΉΉΉΊΊΊΊΉΊΊΊΉΉΉΉΉΊΉΉΊΊΊ() at line:193

ΉΊΊΊΊΉΊΊΉΉΊΉΉΉΉΉΉΊΉΉΉΊΊΉΊΉΉΉΉΊΊΊΊΉΊΉΉΊΊΊΉΊΉΊΉΉΉ.ΊΊΊΊΊΊΊΊΊΊΊΉΉΊΉΊΉΊΉΊΊΊΊΉΊΊΉΊΉΉΉΉΊΉΊΉΊΉΉΉΉΊΊΉΉΉΉ() at line:275

ΉΊΊΊΊΉΊΊΉΉΊΉΉΉΉΉΉΊΉΉΉΊΊΉΊΉΉΉΉΊΊΊΊΉΊΉΉΊΊΊΉΊΉΊΉΉΉ.ΊΊΊΉΉΉΉΉΉΊΊΊΊΊΊΊΊΊΉΉΊΉΊΊΉΉΉΉΊΊΉΉΉΊΉΊΊΉΊΉΉΊΊΊΉΊΉ() at line:220

ΉΊΉΉΊΊΉΊΉΉΉΊΉΊΊΉΉΊΉΉΊΊΉΊΊΉΉΉΊΊΉΊΉΊΉΉΉΉΉΊΉΊΊΊΊΉΉ.ΉΉΉΊΉΉΊΉΊΊΉΊΊΉΊΉΊΉΉΉΉΊΊΉΊΉΊΉΉΊΊΊΉΊΉΉΊΉΊΉΊΊΉΊΊΉΊ() at line:1473

ΉΊΉΉΊΊΉΊΉΉΉΊΉΊΊΉΉΊΉΉΊΊΉΊΊΉΉΉΊΊΉΊΉΊΉΉΉΉΉΊΉΊΊΊΊΉΉ.ΊΊΊΊΊΊΊΊΉΊΊΊΉΊΊΉΊΊΊΉΊΉΊΊΉΊΊΉΉΊΊΊΊΉΉΊΉΊΊΊΊΉΊΉΉΉΉ() at line:1444

ΉΊΉΉΊΊΉΊΉΉΉΊΉΊΊΉΉΊΉΉΊΊΉΊΊΉΉΉΊΊΉΊΉΊΉΉΉΉΉΊΉΊΊΊΊΉΉ.ΉΊΊΉΉΊΉΊΊΉΉΉΉΊΊΊΉΊΊΊΉΊΊΊΊΊΉΊΊΉΉΊΊΉΉΊΉΊΊΊΊΉΉΊΉΊΉ() at line:468

ΉΊΉΉΊΊΉΊΉΉΉΊΉΊΊΉΉΊΉΉΊΊΉΊΊΉΉΉΊΊΉΊΉΊΉΉΉΉΉΊΉΊΊΊΊΉΉ.ΉΊΊΉΉΊΉΊΊΉΉΉΉΊΊΊΉΊΊΊΉΊΊΊΊΊΉΊΊΉΉΊΊΉΉΊΉΊΊΊΊΉΉΊΉΊΉ() at line:265

ΉΉΉΉΉΊΊΊΉΊΉΊΊΉΊΉΊΉΊΊΊΉΉΉΉΉΊΉΊΊΊΊΊΉΊΊΉΉΉΊΊΉΊΉΉΉΊ.OnGUI() at line:364

GUIUtility.ProcessEvent()
[Exception] NullReferenceException: Object reference not set to an instance of an object
UMotionLock.ΉΊΉΊΉΊΉΊΉΉΉΉΉΊΊΉΉΉΉΉΉΊΉΊΊΉΉΉΊΊΊΊΉΊΊΊΉΉΉΉΉΊΉΉΊΊΊ() at line:194

ΉΊΊΊΊΉΊΊΉΉΊΉΉΉΉΉΉΊΉΉΉΊΊΉΊΉΉΉΉΊΊΊΊΉΊΉΉΊΊΊΉΊΉΊΉΉΉ.ΊΊΊΊΊΊΊΊΊΊΊΉΉΊΉΊΉΊΉΊΊΊΊΉΊΊΉΊΉΉΉΉΊΉΊΉΊΉΉΉΉΊΊΉΉΉΉ() at line:275

ΉΊΊΊΊΉΊΊΉΉΊΉΉΉΉΉΉΊΉΉΉΊΊΉΊΉΉΉΉΊΊΊΊΉΊΉΉΊΊΊΉΊΉΊΉΉΉ.ΊΊΊΉΉΉΉΉΉΊΊΊΊΊΊΊΊΊΉΉΊΉΊΊΉΉΉΉΊΊΉΉΉΊΉΊΊΉΊΉΉΊΊΊΉΊΉ() at line:220

ΉΊΉΉΊΊΉΊΉΉΉΊΉΊΊΉΉΊΉΉΊΊΉΊΊΉΉΉΊΊΉΊΉΊΉΉΉΉΉΊΉΊΊΊΊΉΉ.ΉΉΉΊΉΉΊΉΊΊΉΊΊΉΊΉΊΉΉΉΉΊΊΉΊΉΊΉΉΊΊΊΉΊΉΉΊΉΊΉΊΊΉΊΊΉΊ() at line:1473

ΉΊΉΉΊΊΉΊΉΉΉΊΉΊΊΉΉΊΉΉΊΊΉΊΊΉΉΉΊΊΉΊΉΊΉΉΉΉΉΊΉΊΊΊΊΉΉ.ΊΊΊΊΊΊΊΊΉΊΊΊΉΊΊΉΊΊΊΉΊΉΊΊΉΊΊΉΉΊΊΊΊΉΉΊΉΊΊΊΊΉΊΉΉΉΉ() at line:1444

ΉΊΉΉΊΊΉΊΉΉΉΊΉΊΊΉΉΊΉΉΊΊΉΊΊΉΉΉΊΊΉΊΉΊΉΉΉΉΉΊΉΊΊΊΊΉΉ.ΉΊΊΉΉΊΉΊΊΉΉΉΉΊΊΊΉΊΊΊΉΊΊΊΊΊΉΊΊΉΉΊΊΉΉΊΉΊΊΊΊΉΉΊΉΊΉ() at line:468

ΉΊΉΉΊΊΉΊΉΉΉΊΉΊΊΉΉΊΉΉΊΊΉΊΊΉΉΉΊΊΉΊΉΊΉΉΉΉΉΊΉΊΊΊΊΉΉ.ΉΊΊΉΉΊΉΊΊΉΉΉΉΊΊΊΉΊΊΊΉΊΊΊΊΊΉΊΊΉΉΊΊΉΉΊΉΊΊΊΊΉΉΊΉΊΉ() at line:265

ΉΉΉΉΉΊΊΊΉΊΉΊΊΉΊΉΊΉΊΊΊΉΉΉΉΉΊΉΊΊΊΊΊΉΊΊΉΉΉΊΊΉΊΉΉΉΊ.OnGUI() at line:364

HostView.InvokeOnGUI() at <434908727417408abd02bbd1a0835ef8>:0

DockArea.DrawView() at <434908727417408abd02bbd1a0835ef8>:0

DockArea.OldOnGUI() at <434908727417408abd02bbd1a0835ef8>:0

IMGUIContainer.DoOnGUI() at <7f21349c9161407ba80a85ddaed7fabb>:0

IMGUIContainer.HandleIMGUIEvent() at <7f21349c9161407ba80a85ddaed7fabb>:0

IMGUIContainer.HandleIMGUIEvent() at <7f21349c9161407ba80a85ddaed7fabb>:0

IMGUIContainer.HandleIMGUIEvent() at <7f21349c9161407ba80a85ddaed7fabb>:0

IMGUIContainer.SendEventToIMGUIRaw() at <7f21349c9161407ba80a85ddaed7fabb>:0

IMGUIContainer.SendEventToIMGUI() at <7f21349c9161407ba80a85ddaed7fabb>:0

IMGUIContainer.HandleEvent() at <7f21349c9161407ba80a85ddaed7fabb>:0

EventDispatchUtilities.PropagateEvent() at <7f21349c9161407ba80a85ddaed7fabb>:0

MouseEventDispatchingStrategy.SendEventToRegularTarget() at <7f21349c9161407ba80a85ddaed7fabb>:0

MouseEventDispatchingStrategy.SendEventToTarget() at <7f21349c9161407ba80a85ddaed7fabb>:0

MouseEventDispatchingStrategy.DispatchEvent() at <7f21349c9161407ba80a85ddaed7fabb>:0

EventDispatcher.ApplyDispatchingStrategies() at <7f21349c9161407ba80a85ddaed7fabb>:0

EventDispatcher.ProcessEvent() at <7f21349c9161407ba80a85ddaed7fabb>:0

EventDispatcher.Dispatch() at <7f21349c9161407ba80a85ddaed7fabb>:0

BaseVisualElementPanel.SendEvent() at <7f21349c9161407ba80a85ddaed7fabb>:0

UIElementsUtility.DoDispatch() at <7f21349c9161407ba80a85ddaed7fabb>:0

UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent() at <7f21349c9161407ba80a85ddaed7fabb>:0

UIEventRegistration.ProcessEvent() at <7f21349c9161407ba80a85ddaed7fabb>:0

UIEventRegistration+<>c.<.cctor>b__1_2() at <7f21349c9161407ba80a85ddaed7fabb>:0

GUIUtility.ProcessEvent() at :0
UMotion Version:
1.29p02
Unity Version:
2021.3.17

Answer

Answer
Not a bug

Hi,
thank you very much for your support request.

Please make sure that the UMotionEditor folder has no parent folder named "Editor".

If that doesn't solve your issue, delete your UMotion folders and perform a re-installation.

Please let me know in case you need any further assistance.


Best regards,
Peter

Answer
Not a bug

Hi,
thank you very much for your support request.

Please make sure that the UMotionEditor folder has no parent folder named "Editor".

If that doesn't solve your issue, delete your UMotion folders and perform a re-installation.

Please let me know in case you need any further assistance.


Best regards,
Peter