Set Static Mesh by UProperty Ref via Constructor (C++)

LowResDev
Tue, 22 Oct 2024 02:52:59 +0000
Programming & Scripting

I would like to set the Static Mesh of a Static Mesh Component by referencing a UStaticMesh property via the constructor in C++. It works via BeginPlay, Tick, and the constructor via Blueprints, but not the constructor via C++.

The desired effect would be to select a static mesh for the UProperty and have that propagate to several Static Mesh Components on the actor while in the editor (before pressing play).

3 posts - 2 participants