Troubleshooting
Debugging tools
Section titled “Debugging tools”LogItemSpawnsummary line. Every session prints whether randomization is on, how many items registered, how many moved, and the seed.Log LogItemSpawn Verbosefor per-item relocations and “all points taken” fallbacks.ItemSpawn.Enabled 0(then reload the map) to confirm whether a bug is caused by randomization at all.ItemSpawn.Rerollto shuffle on demand and check every placement in one session.- A fixed Global Seed to reproduce exactly the layout a tester reported.
Nothing moves at all
Section titled “Nothing moves at all”Check, in order:
- Enable Item Spawn Randomization in Project Settings → Game → Item Spawn Randomizer.
ItemSpawn.Enabledisn’t forced to0.- Enable Randomization is on for the item.
- The item’s Baked Points (advanced section of the component) isn’t empty. An empty bake means the item has never been saved or refreshed since its points were set: press Refresh Spawn Previews and save.
The summary log line shows “N item(s) registered”. If your item isn’t counted, it doesn’t have the component in that world.
I moved a point and the item still spawns at the old placement
Section titled “I moved a point and the item still spawns at the old placement”Cause: the bake wasn’t refreshed. Ghosts always show the live point, which is why preview and runtime can disagree until the item is refreshed. With World Partition / One File Per Actor, saving the level doesn’t save the item.
Fix: press Refresh Spawn Previews on the item and save. See Baking and cooking.
The item sometimes doesn’t move
Section titled “The item sometimes doesn’t move”Expected with Include Home Location on: home won the shuffle. Also expected when every point the item references was already reserved by other items. Check Was Relocated or the verbose log.
The item lands on a point with the wrong rotation or height
Section titled “The item lands on a point with the wrong rotation or height”Check Location Offset, Rotation Offset and the item’s pivot. See Fitting an item to a point.
If refreshing changes nothing, the item may have stayed home, and home happens to be close to a point. Check Was Relocated.
Two items on one point
Section titled “Two items on one point”This can’t happen within one world. If you see it, the two items reference two different point actors at the same spot, or they live in different worlds.
On Relocated never fires
Section titled “On Relocated never fires”Cause: it fired before your BeginPlay binding existed. The initial assignment happens before BeginPlay.
Fix: call Was Relocated and Get Assigned Point Tags in BeginPlay. The event is for later rerolls. It also doesn’t fire when the item stays home.
On clients the item is at its authored location
Section titled “On clients the item is at its authored location”The item actor doesn’t replicate its movement. Enable Replicates and Replicate Movement on it. See Multiplayer.
No ghosts are drawn
Section titled “No ghosts are drawn”One of these:
- Show Spawn Previews is off on the item.
- The item has no visible Static Mesh component. Skeletal meshes and instanced static meshes aren’t previewed.
- The referenced points are in a sublevel that isn’t loaded.
The Spawn Points list was empty after compiling the Blueprint
Section titled “The Spawn Points list was empty after compiling the Blueprint”It’s restored one tick after the compile, and the log says “restored N spawn point reference(s)”. If it stays empty, the item had never been baked (no save or refresh since the points were assigned). Reassign the points once, then save.