I’m trying to make all players and Ai spawn randomly around the map and a little over half of them do… but the other half spawn at the exact same three (X, Y) locations of (0, 0) or (0, -1000) or (0, 1000)
Below is my code for how they spawn (but I do not think this is super relevant)
And this is my navmesh. (Perfecto)
My GetRandLocInNavRad… origin of 0, 0, 0 and radius of 1600 should cover almost the entire map. I even tried hooking it directly into a print string and this is what I got (it’s pretty hard to read, sorry) : 8 out of 30 spawned in those three spots, I’ve seen it go as high as 12 or 13 out of 30
I’m thinking I might be better off not using GetRandomLocationInNav… and instead just a RandomFloatInRange for the X and Y. I would prefer not to in case I add a spot on the map where the AI shouldn’t be.
Is this a bug?