This is truly mind boggling. I implemented the changes Sam showed us to check whether we are interacting with the UI or not in PlayerController.cs:
void Update()
{
if (InteractWithUI()) return;
which points to:
bool InteractWithUI()
{
return EventSystem.current.IsPointerOverGameObject(); // Line 70 in regards to the image below.
}
and generates this error whenever I try to hit play:
If I comment out the first line in update the game works as per usual.