I’m trying to make a map with random item spawners and chests scattered around it from the beginning, however, as I’ve been testing today, none of the random item spawners are showing up in the game nor the items they spawn. Chests are still showing as normal and specific weapon spawners are still showing too.
I had heard someone mention there is a pretty low cap on item spawning such as 100 items, though for all my searching I can’t find any official mention of such a limit. I thought that could be what is stopping any of them from showing in game so I’ve deleted a load of them and got it below 100 and still there is nothing when I test it.
So my question is, what is the actual limit for spawning items and does it include things like chests, ammo crates, supply drops etc or are they separate to that number?
Also, if chests are considered separate to the spawn limit because they don’t technically spawn any items until they are opened, does that mean that if a chest is opened during the game and the items it spawns tip it over the item spawn limit, will it break the game/chest function?
So there’s only one spawn limit that even exists in the first place: the object spawn limit.
Though, the object spawn limit is 25,165,824 so you don’t even have to think about worrying about it.
When people say spawn cap, they’re likely talking about performance. If you have a massive ton of items on screen at once, that’ll likely cause performance issues. Though for items with the same mesh that don’t move, unreal will automatically instance them so that’s not as much of a concern. Even if you spawned way way too many things, the engine will never delete something on its own.
Could you specify how you spawn those chests and the like, and which things aren’t spawning?
** - After writing most of this response I re-opened UEFN and launched the game and the items are now spawning, despite me changing nothing. I also closed the game several times earlier and it didn’t fix it then, so I’m going to have to presume this is just a bug. I will leave this post and the rest of my original reply to your comment up in case it is useful in some way for diagnosing a bug etc. - **
Thank you for responding,
The chests are all placed manually in fixed positions in UEFN and are displaying fine in testing.
I use item spawners that choose randomly from a list of items what to spawn, and I want all of them to spawn at the start of the game. I tried making the ones located in the far parts of the map spawn after a 10 second wait to see if it was just too much load to spawn everything at the beginning but there is no change.
Whats strange is that I have about 8 random weapon spawners which should be the exact same thing just with different items in the randomiser list. If it makes any difference, I just have some items like shield potions, bandages, apples etc in the ones that aren’t showing in game.