Editor Connections not working

Hey, so I have this issue with a 3d movement script, where it works fine but I can’t test it out because it gives me an error and says this: “UnassignedReferenceException: The variable orientation of CameraPosition has not been assigned. You probably need to assign the orientation variable of the CameraPosition script in the inspector. UnityEngine.Transform.set_rotation”. I understand what its saying, but what its referencing has already been assigned, as you can see here; (Orientation is a child game object under the player, its not blank)9553261--1350178--upload_2023-12-29_10-59-13.pngHelp would really be appreciated, thanks!

That just means you THINK you finished Step #1 when in fact you did not.

Something else is null. Keep studying.

Remember that prefabs can never refer to in-scene objects.

The answer is always the same… ALWAYS!

How to fix a NullReferenceException error

https://forum.unity.com/threads/how-to-fix-a-nullreferenceexception-error.1230297/

Three steps to success:

  • Identify what is null ← any other action taken before this step is WASTED TIME
  • Identify why it is null
  • Fix that