/Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h
Reset the cached result of information about any modules referenced in the .uproject file of the currently loaded project
static void ResetCurrentProjectModulesCache()