See the attached images but basically I have an enemy game object that has it’s rotation change completely on start for seemingly no reason at all. This only happens with a NavMeshAgent is attached to the gameObject. I’ve tried a few different things to get this fixed including:
agent.updateRotation = false;
rotationValues = new Vector3(-90, 270, 0);
gameObject.transform.rotation = Quaternion.Euler(rotationValues);