So i made a game that tries out various types of AI in unity. I made an AI that follows the player and rotates towards the player. The code is fine and everything works as expected. So i added a spaceship sprite to the enemy and its rotating as expected. Everything is working perfectly even in game view.
But as soon as i built my game, the sprite just disappeared! I tried opening and closing unity multiple times and built but i got the same problem everytime
Game View in editor
Game Build
Btw the collisions still work but the sprite is not visible
Please help me this is perplexing