UE4.20 and Visual Studio 2017 Errors
I have recently downloaded UE4.20 and also Visual Studio 2017. To be able to use Visual Studio 2017 I chose it as the source code editor. The code compiled without any problems, however inside the IDE, I am getting errors saying that some of the header files are inaccessable, even though they worked fine in 4.19 and Visual Studio 2015.
This doesn't cause any issues with the compiler. Has anyone else had a problem like that? And how was it solved?
asked Jul 21 '18 at 09:12 PM in C++ Programming
Look at my answer here: https://answers.unrealengine.com/questions/810626/vs-cannot-find-generatedh-files.html
answered Jul 22 '18 at 03:31 AM
It's not telling you that the header is inaccessible, but that the individual member in question is. Many previously-public members in 4.19 have been made private in 4.20 and exposed through accessors. I'm not in a position to check this particular case here, but when updating to 4.20, I did have to make changes like the following to my own classes:
It's likely that you're in a similar situation and need to replace direct references to these member variables with calls to accessor functions.
answered Jul 21 '18 at 10:56 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here