layer mask

hello, i have this game where you need to use your flashlight to see. anyways. that is being done with layer masks. it have been working fine until i imported some new graphic. the player and walls should be shown at all times but i get this ugly lowpoly outline that you can seethrough. the image itself is trancparent outside the actual character/walls. i dont know if it has something to do with import settings.

anyone knows how to fix this?

9815568--1410312--upload_2024-5-5_16-43-39.png