Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

sometimes on start. but it definitely crashes on restart

(1 edit)

I think I found out why, because I re-bake the navigation mesh in run-time  with the 10 seconds timer, if for some reason the re-baking process is not complete while restarting the game, it will crash.

I done like this is because I want some of the objects can be destroyed during the combat, thus I was thinking that re-baking navmesh in run-time will be a good idea to make units go through the place where it was impossible at first. Turns out this might be a bad idea. For now, I can either don't re-bake navigation mesh in run-time or made the level smaller to make it re-bake in run-time faster, when the voting session is over and I will update the game.