Download

Static mesh disappear

I want to make a stand for my trailer and destroy it when I press a button .But when I try to put a static mesh in bp after I press compile the mesh disappears. I made a video :

It disappears because you have an error in your Blueprint.

I solve the error from blueprint ,but the same problem…the static mesh still disappear.

Can you show me your Blueprint?

eb5bcc8e3f4424b870a290cf4ededc57974e532d.png


a15078f5c4d97065cdfe36fc3899252792e8ef41.png
And I don’t know why I cannot create a new nodes in a read only graph .Why is readonly ,because is vehicle movement bp ?

b7960f03b18df9b1a50d43abc1a8764f81f20537.png
It is disappearing because you are destroying it in a Construction script, you should do it in the Event Graph. Event Graph is executed only when you play the game and Construction script is executed every time you compile the Blueprint, move your actor in the editor or change any properties of that actor. When you are in the play mode you can not do anything in the Construction script.

I hope that helps :slight_smile: