Description

Component is not compatible error on project restart

User Description:

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.

Steps to Reproduce

1. Open the attached test project
2. In the Content Browser, open "BP_Actor01"
3. Attempted to compile the blueprint

Results: The bp will produce a Compiler Error. However, if you delete the 'Get Hit Result Under Cursor by Channel' then recreate it, the bp will compile fine. Once the project is closed and reopened, the bp will again have the compile error.

Expected: For either; the bp to not have a compile error on open or for the bp to not compile correctly in the first place.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

3
Login to Vote

Non-Issue
ComponentUE - Gameplay - Blueprint
Affects Versions4.12.54.134.14
Target Fix4.26
Fix Commit13003342
Main Commit3380073
CreatedAug 30, 2016
ResolvedApr 23, 2020
UpdatedApr 29, 2020
View Jira Issue