find with tag no longer working

Hi im using ufps and it just updated and find with tag no longer works for some reason ive posted on their forums but i still cant seem to get it to work here is what im working wiht

void OnTriggerStay(Collider other){//This is to see if the player is within a certain distance of the AI.
		if(other.gameObject.tag == "Player" ){//Only do this on ppl tagged "Player"

			Vector3 direction  = other.transform.position - this.transform.position;

			float angle = Vector3.Angle(direction, transform.forward);//Draw the angle in front of the AI
			
			if(angle < fieldOfViewAngle * 0.5f)//This is the angle that the AI can see
			{
				RaycastHit hit ;
				
				if(Physics.Raycast(transform.position + transform.up, direction.normalized, out hit, col.radius))//Check if the AI can see the player
				{
					if(hit.collider.tag == "Player") {
						playerInSight = true; //AI Character sees the player
						DoWaypoints = false; //don't walk waypoints anymore
					}
					else
					{
						DoWaypoints = true; 
						playerInSight = false;
					}
					
				}
			}

				
				//AudioSource audios = other.GetComponent<AudioSource>();
			//	float audiorange = audios.maxDistance;
			//	if(audios.isPlaying == true)
				//{
				////	Player = FindClosestPlayer();
				//	PlayerT = Player.transform;
				//	DoWaypoints = false;
				//	GetComponent<NavMeshAgent>().destination = PlayerT.position;
				//}
				//else
				//{
				//	DoWaypoints = true; 
				//}



		}

	}

You can just debug the tag of object tag like Debug.Log(other.gameObject.tag) or Debug.Log(hit.collider.tag) and check for this value or you can just print the other game object name Debug.Log(other.gameObject.name) and check for object name instead.