I try to find a static mesh component in an array from the “hit component” and it compiles and works perfectly fine with absolutely no problem whatsoever.
However, after closing and opening the editor again; the same event appears with an error saying: “COMPILER ERROR:” failed building connection with ‘Primitive Component Reference is not compatible with Static Mesh Component Reference (by ref).’
If i just redo the node and compile again it works perfectly fine again.
I ended up using a separate mirrored “DisplayName” array and it was a successful workaround. But is still weird that it compiles, and then on restarting the editor shows an error and can just be recompiled if the node is redone.