Whenever I restart the Unreal Editor, I can only see triggers of my Blueprint class and not the tiles in the ViewPort and the tiles also do not appear when I play the game.
But if I remove and add the blueprint again each time, it is displayed properly in the ViewPort and also in the game.
Can anyone tell me why is this happening? Is there a problem with the spawining because I have already tried replacing and creating each one from scratch again?
I have not used the code but dragged the blueprints into the viewport.
I had the issue for almost 3 weeks and I read many forms and saw videos related to Paper 2D but it seems that it is a bug in UnrealEngine.
After trying hard, I found that each time I restarted the Unreal Engine, each blueprint with one or more TileMap lost the reference to my TileMaps and instead they pointed to a PaperTileMapComponent.
So, I have to manually reset the reference back to my TileMaps.
You can replicate this on your system by creating an actor blueprint and then adding a TileMap in the blueprint.