Hi, I have a problem when build in Android. The object don´t move but with the Unity Remote works fine and follows the player.
This is the part of the code:
Transform player;
void Awake()
{
player = GameObject.FindGameObjectWithTag(“Player”).GetComponent();
}
private void Update()
{
transform.position = Vector2.MoveTowards(transform.position, player.position, 0.03f);
}