Error on spawning Actor

Hello.

I have found instructionand trying to spawn my Static Mesh Actor.

My spawning blueprint:

My Static Mesh blueprint’s construction script is:

My Static Mesh Actor spawning:

But gets error:

Whats goes wrong and how to fix this issue?

upupupupup

“Accessed None” usually means that a variable is empty or “None”. You can check those (to prevent this from throwing errors and enabling you to handle the error) via the “IsValid” node.

In this case it looks like the “Get Player Character” is not able to return a transform inside of your level blueprint. Since I’m not entirely sure what the rest of your setup is I can’t say more specifically what might be wrong but try to test a few things around there.

Is it time related? Like at the very beginning where the character isn’t spawned? Do you have a character at all?

Hello.

IsValid was solved my problem.

Can you post your answer? I would accept it.

Done. Glad it worked :slight_smile: