Reply To: Look at

Slate Forums Support Look at Reply To: Look at

#705
elsie7ex
Participant

Thank you for your quick response.

I’m trying to use the “Character/Head Look At” action clip. I’ve added the “Character” script to my avatar and I’ve linked the Neck and the Head and when I use the cinematic sequencer “Play button” it works good. However, when I click on Unity “Play buttons” the console displays the error:

MissingReferenceException: The object of type ‘Character’ has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Component.GetComponentsInChildren[Renderer] (Boolean includeInactive) (at C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineComponentBindings.gen.cs:97)
Slate.CharacterInspector.SetWireframeHidden (Boolean active) (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Characters/Editor/CharacterInspector.cs:34)
Slate.CharacterInspector.OnDisable () (at Assets/ParadoxNotion/SLATE Cinematic Sequencer/Characters/Editor/CharacterInspector.cs:27)

and when I press the cinematic sequencer play the avatar doesn’t look at the target.
Am I still missing anything?

PD: I attached 2 screenshots

Attachments:
  1. cinematic1.png

  2. cinematic2.png