So apparently the build I uploaded doesn’t generate maps at all, or player, or anything at all when you hit play and I had no idea that was the case, I mean, I tested the game on the unity editor, all the logic was working just fine, why shouldn’t it work ?
(THE SHAME !)
Well, it turns out that the PrefabBrush that comes with the tilemap extras from unity cannot be used on builds, only on editor mode,, and seeing how that’s what I’m using to “draw” the enemies into the map it means the biggest “feature” of the game doesn’t work, and on build it just completely obliterated the procedural generation part of the algorithm, why didn’t anybody brought this to my attention before ? I have no idea, Why didn’t I noticed that before ? well, one would assume that the “preview” of the game should provide a pretty accurate representation of how the game will work in the end so once i generated the build i was pretty much certain there was no way it couldn’t just “not work”, call it naive, but i honestly don’t test build because of that same exact reason, I just assume it has to work since it was running just fine while developing, granted, that has come to bite me in the ass more once (as if this particular case wasn’t proof enough of that) but I guess it just doesn’t happen as often for me to actually learn my lesson. anyways.I’ll try to get to work on it as soon as I get some time to really sit down and look into possible ways to solve this issue :/.
0 comments