Hi! I'm working on a project where I have a Map scene. I remove and add this scene to the phaser game a lot because I have to populate map depending upon the data I provide to this scene. After updating the map many times, it just vanishes and doesn't render and it happens randomly. I'm creating some images and texts in the map scene that change depending upon the data I pass in Init function of the scene.
this.game.scene.remove('map');
let map = new Map();
this.game.scene.add('map',map,isLoaderComplete,mapData);
I'm also attaching a screen shot. Any help would be much appreciated, Thanks!