On Windows + MSVC 2013, I created a project and put in into folder “\main\client_UE4”. When I launch the project, it builds it into “\main\client_UE4\Binaries\Win64”. And then launches from there. So current process folder (WINAPI GetCurrentDirectory call) is “\main\client_UE4\Binaries\Win64”.
However, if I run ‘editor’ configuration and launch the editor. Then from the editor I click play button - then the current directory will be:
“\main\UnrealEngine-release\Engine\Binaries\Win64”. So game crashes, because it can’t find it’s own resources.
Is there a way to override this behaviour?