I’m having no problems compiling, and I’ve been able to reduce my intellisense errors down to ONLY the one shown in the picture, but I can’t seem to get it to go away. I’ve manually adjusted my vcxproj file to include $(Ue4Install)\Engine\Source\Runtime\UMG\Private\Blueprint folder (build was working before I did this), I’ve added the UMG module to my build.cs file, but I still continue seeing the following error:
Please note, that IntelliSense can provide false-positive errors of this kind. If your project is compiling, it is most likely that there is nothing to worry about.
Thanks. This only started after I changed my project file to use a macro for the UE4 installation path, so I am thinking that the problem lies with this somehow. I can’t really get rid of the macro, however, because it’s how I’m able to work with other team members without requiring that we all install UE4 to the same location.
We are using Git currently, and we have a number of C++ files in the project that are not managed by UE4, so it’s necessary for us to be able to save our vcxproj files to help each other work with said files. We have been using a .props file like the following:
This allowed us to go through and modify our vcxproj files to use $(Ue4Install) in place of the relative paths that UE4 tries to use when it generates project files.
This worked for me. The project was compiling fine but types like UTexture2D was not showing up in intellesense.
I closed everything, opened the unreal project folder in windows explorer and right clicked on the .uproject file and chose “Generate Visual Studio Project Files”
After that I opened the solution and intellisense was working.