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.
Thank you for the report. I attempted to reproduce this but I couldn’t get your results. On reopening the editor, the node doesn’t produce a compile error for me.
Could you try reproducing this in a new project and then uploading it here?
Sorry for the delay. I was able to reproduce this and I’ve created JIRA UE-35332. Our developer will be investigating the issue further. You can follow that link to check the status of the report.