Summary
character unable to move when populating map of vector3’s in OnBegin. when line is commented out map works fine
Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Live Edit
Steps to Reproduce
create prop
add verse tag
place prop in level.
in a device get props by tag and use GetTransform().Translation as a key for a map.
start game and character is just frozen in place
Expected Result
a map full of vector3’s to be created
Observed Result
character is unable to move. then after some time kicked back to lobby saying network connection lost.
Platform(s)
PC
Additional Notes
OnBegin():void={
Sleep(0.2);
# Get SpawnLocation Actors.
TaggedActors:= FindCreativeObjectsWithTag(WorldLocTag{});
for (TaggedActor: TaggedActors, worldLoc:= creative_prop[TaggedActor]) {
Loc:= worldLoc.GetTransform().Translation;
if (set copperNodeSpawns[Loc] = 0) {Print(“Set”);}
}
}
ive since changed the map ([vector3]int) to a tuple (tuple(vector3, int)) and the map runs fine. not sure if that helps at all
AtAshTag
(At AshTag)
May 21, 2025, 1:24pm
3
I don’t understand why the key would be the vector 3 ?
surely the key would be like index so an int for example then the value your storing would be the vector 3
Then run a for() and like for(Index → TaggedActors blah blah): if(set PropMap[Index] = Loc){}
Im unsure why you dont just use an array but assuming you have a reason also check that the prop IsActive
its currently a list of available spawn locations. which uses the vec3 as a key and a int as to if the spawn is in use or not. but yea all the objects are active. as they work perfectly when i change it to a tuple(vector3, int). just prefer maps for the lookup
system
(system)
Closed
November 17, 2025, 12:52pm
5
This topic was automatically closed after 180 days. New replies are no longer allowed.