I can't save Blutility spawned instanced mesh to level
I have a blueprint with hierarchical instanced static mesh component. I use blutility to spawn mesh instances from editor. The problem is that I cannot save spawned instances anyhow. I tried to spawn instanced meshed in the actor itself, i tried to spawn other actors with HISM component and to spawn instances there, no luck. Also when I try to apply instance changes to blueprint i get a crash.
When I spawn regular, not instanced actors, everything works correctly, I can save level with actors spawned this way.
Just wanted to add to this since I encountered a similar issue. I had an AActor that was baking and tracking multiple instance static mesh components. They would bake in the editor just fine by calling a blutility function. But after trying to save and then load the level all the baked data would disappear.
The fix for me was that I was missing a UPROPERTY() declaration, preventing the data from serializing/deserializing on level load.
Follow this question
Once you sign in you will be able to subscribe for any updates here