I experienced an issue going from 5.3 to 5.4 where things being created in the construction script no longer worked when you went into play mode.
I would turn this construction script into a function, then you can call it from the construction script to be able to dynamically see your changes when you are editing your blueprint, but then I’d also call it from begin play after a delay node.
Okay, so when I ran the simulation in the blueprint, it worked in the blueprint viewport. However, I want it to display correctly in the main (game’s) viewport without actually running the game, as if it were an asset with the options I chose. How can I achieve that? This was working fine before.
With the problem I had, I’d call the function in the construction script, and I could see immediate results both in blueprint editor and level editor.
I’d also call it from begin play after a delay of .5, and then it would work in play mode. If that’s still not working for you, I don’t know what to tell you.
I’ll try.
Do you have a tip on how you would convert this to function? Particularly “Get components by class” as it uses Target “self” but how would I pass this though a function?