Actor does not spawn from interface message

Hi all,
Been searching all around answerhub, just cannot find what I’m doing wrong. Apologies if the solution to my question is very obvious. After many hours of trying, I just cannot get a very simple blueprint to work.

I’m currently in the process of building a blueprint that should form the basis for an ingame road editor.
I already have a lot of good stuff in there, but one very simple thing does not work:

  • Player clicks a button in the HUD
  • Message “build road” gets sent to interface

255004-2018-09-29-13-04-19-window.png

  • In another blueprint I want to use this message to trigger a spawn actor
  • Note: Fence_BP is an actor blueprint with just a scene and static mesh.

But nothing ever spawns, even if I simply change the message to even begin play to test.
I’m wracking my brains here. It seems so extremely simple, but just won’t work. Simulate mode doesn’t offer any clues either. All I know is that the road simply doesn’t spawn (Fence_BP is fine and works in other blueprints) in the world.

Thanks in advance for pointing out my obvious mistake…

If SpawnActor function fails (regardless if it’s done in C++ or Blueprint) it prints out reason in log practically on any case, go check the log in Window->Devlopemnt Tools->Output Log, log is also stored in file in your project directory in Saved/Logs, there also lower level -LOG command line option which also works on developer build packaged projects. My guess is you spawning on already occupied position, then you need to either change location or collision handling.

If something does not work or you got a crash always look in log, there lot of useful information there, i personally have Output Log tab always open

Hi , thanks so much. Just gave it a try and a lot of good info in there. Haven’t yet solved the problem, but I figure there might be a problem with another actor being in the way.

Edit: indeed, that was the problem. I put the Z-axis value higher and it popped right up. Rookie mistake! Thanks for helping.