Hey Everyone.
I was dealing with the same problem with the engine version 4.24.1. Incase someone else needed this i have figured it out by editing the ProjectName.Build.cs:

I really don’t know which line fix it.
I’ve read some stuff and find out with 4.24 Epic change the include system. So we need to be clear/specific about our include files.
Whatever, ’ hope this helps you.
Wish you awesome day.