Error 1:
I simply created a new c++ component for a door in UE4. However I am getting a red line under the colon on line 10 in the header file.
Error 2:
In the .cpp file for the component, Visual Studio 2019’s intellisense is not working and there is a red line under every method.
Note: The solution file is building despite of all the red lines.alt text
My visual studio is already up to date and refreshing the color scheme/ relaunching VS did not work. I tried refreshing the projects as well but to no avail. Is there any other solution that I should try fot this?
Try reseting the entire project:
- delete directories: .vs, binaries, build, intermediate, saved;
- delete files: *.sln, *.vc.db;
- open .uproject file and rebuild
- right click .uproject file and generate vs project files
PS: backup the project before trying this.
This worked!! You, Sir have saved my life! Thanks a lot!