Paper2D 4.8 - Player and tilemap disapper when collision happens

So I setup the tilemap using the tileset. i set some tiles to have colliders. Then for my player I’ve setup a Pawn blueprint with 2 sprites (for the head and for the body). for the root, i’ve used a box collision component for its collision. When i click on “Play”, i get to move my character in the tilemap level i made.

but once i collide with the walls, everything turns black. if i continue onwards until my player has crossed the wall, both my player and the tilemap level is rendered again. I’m not sure what’s going on. Anybody having the same issue?

Hey hypnoticrhythm,

Are you able to reproduce this issue starting with a Blank 2D Blueprint project?

I feel the best way to troubleshoot this issue alongside with you, would be to get a simplified version of your project (at your discretion of course) with the issue still occurring. This way I can walk through the individual assets that might be causing this issue to appear and find the source through process of elimination.

If you are okay with sharing your project, you can simply take the Content, Config, and Uproject folders/file and zip them into a compressed folder. Then upload that folder to an external file sharer like DropBox and provide me with the link to the file. Let me know if you have any further questions or need help elsewhere.

Cheers,

Hi Andrew,

Thanks for chiming in on this. indeed i was able to create a fresh project and ran into the same problem. The approach sounds great. I’ve uploaded a copy of the new project in my dropbox. you can get it from this link: Download Project.

Thanks,
Kent Nishimori

Hey again hypnoticrhythm,

So after testing your project and not being able to initially get your issue to appear, I selected the level within the viewport and presto! The issue was very apparent. I was incredibly confused at first, but then went into your ‘PlayerPawn’ blueprint and discovered your camera is set to ‘Perspective’ instead of ‘Orthographic’ view.

Orthographic View

This should resolve your issue, but if you need more help just let me know.

Cheers,

Thanks Andrew! That solved the issue! I totally missed that part about the camera. hehe