Hi, my program crashed because I used an invalid path in my C++ code with the following error:
LogPackageName: Error: DoesPackageExist: DoesPackageExist FAILED: '/Content/Props/Key' is not a standard unreal filename or a long path name. Reason: Path does not start with a valid root. Path must begin with: '/Engine/', '/Game/', '/Paper2D/', '/OculusVR/', '/SteamVR/', '/Config/', '/Script/', '/Memory/', or '/Temp/'
To be specific I specified Content instead of Game in my path while trying to spawn a blueprint from code.
Now I changed that directory over an hour ago and I can open my project from visual studio but when I open it from the Epic Games launcher it crashes on startup every time. I rebuilt my solution, compiled it from the editor (after starting it from visual studio) and generated my Visual Studio project files but it keeps crashing as if the code was still using that path.
Uhm thats the first time I heard that running from VS and running from Launcher is not the same x) you sure you don´t have a old “Copy” in the launcher or something like that?
Anyway Close your Editor and VS, try deleting your Intermediate folder, Build from VS and Start from Launcher. See if that fixed your issue.
I deleted the intermediate folder, generated visual studio files, rebuilt my solution and started from launcher. The exact same crash happened. Looks like I’ll just have to cut my losses.
Update: I rolled back to my last commit lacking any other solutions. However the situation is still the same, I can launch from Visual Studio but it crashes when I open the project from the launcher.
Update: I rolled back to my last commit lacking any other solutions. However the situation is still the same, I can launch from Visual Studio but it crashes when I open the project from the launcher.