Hello there, i have a question regarding this enum i created which dictates what StaticMesh is going to be loaded for what instance of the same BP.
It works when i manually change the enum property inside the BP editor and populates the mesh slot correctly.
I want to do that on engine startup since I am automating it and i need it to load all necessary meshes when engine is starting up, which doesn’t happen, instead, the mesh slot is populated with the latest mesh that was there even if i set the enum value in c++ to something different. To be more exact I would like to have this enum have different default values for each instance of the BP and update mesh slot accordingly.
Why is this the case and why does it only work with the property changed manually inside the editor while the engine is running but not updating the BP when the enum property is set to a different value in c++.
In case you need more info I will provide necessary code and snippets.
Thanks ![]()