Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Keyframe recording mode gives error

Discussion in 'Animation' started by Specter37, Feb 6, 2021.

  1. Specter37

    Specter37

    Joined:
    Jan 9, 2021
    Posts:
    2
    I'm trying to make a simple 3d game where when you reach a trigger it ends the level, and I want a animated screen to play but every time I turn on the 'Enable/Disable keyframe recording mode' it give me two errors that say the same thing, '[14:11:30] NullReferenceException: Object reference not set to an instance of an object Unity.Editor.EditorWindow.RefreshStylesAfterExternalEvent () (at <bunch of numbers and letters>:0)
    I don't know what to do
     
    Last edited: Feb 6, 2021
  2. unitybru

    unitybru

    Unity Technologies

    Joined:
    Jan 28, 2020
    Posts:
    225
    This sounds like you didn't assign a game object to the target of the recording. Can you post a screenshot of your recorder?
     
  3. Specter37

    Specter37

    Joined:
    Jan 9, 2021
    Posts:
    2
    I'm moving the 'MADE BY A PERSON' text up, the error doesn't prevent me from animating it's just really weird... Screenshot (36).png
     
  4. unitybru

    unitybru

    Unity Technologies

    Joined:
    Jan 28, 2020
    Posts:
    225
    Tell me what version of Recorder you are using (from Window - Package Manager) and give me the complete error message '[14:11:30] NullReferenceException: Object reference not set to an instance of an object Unity.Editor.EditorWindow.RefreshStylesAfterExternalEvent () (at <bunch of numbers and letters>:0)