Hello, I’m new to unreal, I’ve created a weapons-picking system, and I have a problem with laying the weapons, I duplicated some weapons and created a variable class to spawn the weapon I got, so when I try to spawn, nothing happens . help!!
for me i use a blank parent actor with a structure of all the details including class and then write all the code in the main and pass it to the children class and it works perfectly if you want details let me know
In any case the “Accessed none” messages indicate that things did not go perfectly at all. It could be that the spawn location is inside colliding geometry. Using a shape trace (Traces Overview | Unreal Engine Documentation) you can check that the location you intend to spawn the actor has room for it. Or for a quick hack you can just set the Collision Handling Override param to “Always spawn, ignore collisions” and see if that helps.
Does the output log show any warnings or errors related to spawning? Is the return value of the SpawnActor node empty? If not then are the location and scale values what you’d expect?