Rider for ue4 include suggestion fail
Hi,
I suppose this issue isn't about indude exactly, but that's how it shows up:

As you can see, the file is already included but Rider fails to aknowledge it. This bug leads to lots of error displayed in the file, but the code compiles with no issue, not even a warning.
All files where this bug happens contain C++ classes that do not inherit from UE4 types. For example, the MoveState class defiintion:

AIState being a pure C++ class with no UE4 include or types.
Is there any workaround for this?
EDIT:
This error disapears when the ZOE_API macro is removed (Dllexport).
It still gives me incorrect errors for type that are forward declared in those classes.
Please sign in to leave a comment.
Hi,
If this is a class newly created from Unreal Editor, could you please try regenerating the project files? In Unreal Editor, select File -> Refresh Rider project.
If it is not your case, we've already fixed a similar issue with includes, and the fix will be available in the next build. I hope it'll help.
Kind regards,
Elvira