Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi Seanba!

First, thank you very much for this awesome tool and for the previous Tiled2Unity tool.

I have a game which runs perfectly fine with the previous Tiled2Unity code, but migrating to SuperTiled2Unity has made the instantiation of the map very slow (can take 6 seconds to instantiate the map). 

I am intantiate the map from a tmx file using (the tmx is being loaded from an asset bundle):

MapGameObject = GameObject.Instantiate(tmxObject);

Can you suggest anything I should try to get back the fast performance I had with the previous library and still migrate to the new library?

Thanks!

Hi there, @adiohaion. I'd like to do some profiling on your project to try to understand what is going on there. Would you mind sending it my way? My email is sean@seanba.com. Thanks.

Hi again, sorry for the late response! I was able to fix it by upgrading to the latest unity version & latest SuperTile2Unity. I also instantiate the map now from a prefab (like we use to do in the previous Tile2Unity) instead of the tmx. Thanks again for the great library!