I want to create a multi-cast delegate that has FOnAttributeChangeData as the single param but the log keeps saying "Error: Unable to find ‘class’, ‘delegate’, ‘enum’, or ‘struct’ with name ‘FOnAttributeChangeData’ ", even though the method that also uses the struct as a parameter compiles just fine.
This will work fine
But using it in the delegate will cause "…\Public\GASCharacter.h(12) : Unable to find ‘class’, ‘delegate’, ‘enum’, or ‘struct’ with name ‘FOnAttributeChangeData’ "
Using it in uproperty will also cause "…\Public\GASCharacter.h(24) : Error: Unable to find ‘class’, ‘delegate’, ‘enum’, or ‘struct’ with name ‘FOnAttributeChangeData’ "
Why does the struct FOnAttributeChangeData didn’t work in the delegate or the uproperty even though just one line above it, it worked just fine?