I tried to change the parameters of a function and I cannot compile for the life of me. I tried changing it from no arguments to 3 strings. It compiles nicely when I change the parameters back to void. I made sure to remove all blueprint and C++ references to the function but I can’t get rid of this linker error.
I have tried:
Changing solution configuration
Refreshing visual studio project
“Generate visual studio project” by right clicking on the project file.
Deleting the binaries (won’t let me launch the project)
Hi,
could you post the part of the code in HowDareGameInstance.cpp where you use the UGameAccountObject
And the .h of UGameAccountObject, there might be a DLL external symbol link missing.
Sigh… I fixed the problem by going to Build->Rebuild Solution. Clearly something was cached somewhere that wouldn’t get refreshed. I tried to rebuild the project in every other way for hours but that did the trick!
ok, I was going to ask you that as link problem was refering AccountLogin(void) and not AccountLogin(const FString&,…)
A good rebuild in VS is always useful when nothing works
I have noticed a couple of times with 4.17, I will have to delete my intermediate folder for my project as some of the .gen.cpp files get mashed up and don’t work.
Sometimes, delete intermediate, regenerate project, build works. Saves having to do a full rebuild.