Cinemachine Target Group Dynamically Updating Error

A few things of note

  • You should use code tags, learn how here
  • I have no idea which line is 65 since you didn’t post the full script, you can either point it out or just post the whole thing (preferably in the code tags)
  • NullReferenceException means that one of the things you’re trying to get doesn’t exist or you haven’t referenced it in the inspector, it could be ObjectPlayer or spawnLocation, or it could even be that the GameObject doesn’t have a CinemachineTargetGroup.
1 Like