Num Custom Data Floats on BPs

On HISM or ISM components there’s an option called Num Custom Data Floats, which is really nice. Except crashs on few constellations (already reported) it does what I want that it does - at least on my test map + test actor. Now I want to use it on my current projekt, but I can’t because there’s a missing node for Blueprints.

I have to add new HISM components to my actor on runtime (depends on players actions). There is no other solution for my needs. But this way I cannot choose the number of Num Custom Data Floats. There is no way to change it with blueprint-nodes (no variable, no specific node).
I think one reason is, that changing this number will crash the editor on some cases. So it cannot be changed on normal graphs after HISM got spawned. It has to be set on construct on “Details” pannel (at current state).

A node “Add Hierarchical Instanced Static Mesh Component With Num Custom Data Floats” could solve this issue. Not just for me, but also for others like I read on other sections of this forum.

Since there was no response: Is it something that may get implemented in further versions (5.1 or 5.2) or is it a better idea to look into C++ written custom nodes for that purpose?

Hey, can you explain me what is custom data float? I am working with ISMs very much these days i want to know everything about ISM

Hey, @LordMegatron666 sorry for the very late response. It’s maybe too late, but I still want to answer it. Custom data float is a float number applied to every instance that can be used to customize materials. You define previously how much floats you want to apply to each instance. Here you have an example (and the reason I asked 2022): Video.


Btw I found a solution long time ago (as you can see on linked video). In Engine folder I was searching for the HierarchicalInstancedStaticMeshComponent (C++ class), right-clicked it and clicked on the option Create Blueprint class based on HierarchicalInstancedStaticMeshComponent and saved it into my Content folder. I opened this blueprint and set Num Custom Data FLoats on Class Defaults to 5 (in my case). All I now needed to do was not adding the original component, but my modified one and everything works very well.

Yeah It is already too late because I already make a hsim block system and it works really fine! Also learned to use custom data floats too. But still thank you for trying!