- Home /
Question by
baardie1 · May 21, 2020 at 01:09 AM ·
2d2d gametilemap2d sprites
Tilemap disappearing from game-view after using SetActive
Hi,
I am trying to figure out why my tilemaps are bugging out so much when it should just be so simple(?)
I am using .SetActive on the parent game object using OnTriggerEnter2D, you can see in the GIF that it's setting them correctly but not rendering properly.
Is there something i'm missing or do I have to do something different?
ezgif-5-0811ba456bd6.gif
(427.7 kB)
Comment
Something to add; the game turns black even when I don't disable the "room1"
Best Answer
Answer by baardie1 · May 21, 2020 at 01:18 AM
I'm just being stupid, I forgot to remove the teleport function I had in an it turns out it was moving my player to somewhere else on the Z plane for some odd reason, fixed. (My player moved on the Z axis)