Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Verse
Summary
Hey guys i have tried something like this in my project to check validity of objects in one array but as soon as i use the isValid function in my code the game after some seconds totally stops responding i cant move my player anymore (just move camera) and there’s nothing related to input in my code. Can you guys provide me some example code using that function for me to understand proper usage? is not clear for me
Print the position of all creative_prop actors
for (Object : AllCreativeObjects):
if (Prop := creative_prop[Object]):
if (Prop.IsValid[]):
Print("Found prop at: {Prop.GetTransform().Translation}")
else:
Print("Found disposed prop")
Steps to Reproduce
Print the position of all creative_prop actors
for (Object : AllCreativeObjects):
if (Prop := creative_prop[Object]):
if (Prop.IsValid[]):
Print("Found prop at: {Prop.GetTransform().Translation}")
else:
Print("Found disposed prop")
Expected Result
I expect receiving the response from the function
Observed Result
game stops responding movements commands and my logic simply stops executing
Platform(s)
tested on windows