Using TargetBuildEnvironment.Unique causes Shader path issue and incorrect Content merging
I'm using BuildEnvironment = TargetBuildEnvironment.Unique;
The reason for this is that I modify stack size and unless I use TargetBuildEnvironment.Unique I get this error:
This causes me 2 issues, a solution to any would be much appreciated:
1) I have to move my game project folder in the game engine folder or the following line in ShaderCore.cpp fails:
because FPlatformProcess::BaseDir() returns a different value when using TargetBuildEnvironment.Unique. I assume this happens because UBT changes the RootDirectory from the Engine directory to the project directory.
This can be kinda-fixed by moving the game project folder to the UnrealEngine root folder, but then this causes issue 2) below:
2) If I move my game project folder to the root UE engine folder my game Content gets messed up: it doesn't show under the "Game" content anymore: instead it gets pulled into "Engine Content" and I cannot even open it since it cannot finds any assets.
Any idea if what I'm trying to do with 2) is even possible?
Any idea how to fix 1) or 2)?
Any idea how I can otherwise set stack size without having to set TargetBuildEnvironment.Unique?
asked Jan 08 '19 at 11:14 PM in Installation & Setup
Follow this question
Once you sign in you will be able to subscribe for any updates here