What should I do for build and run ChaosDestructionDemo?
My steps are
-
download the unreal engine from github, branch 4.25.0-release
-
follow the guide, modify UE4Editor.Target.cs and build UE4 with Chaos, Chaos Destruction Overview | Unreal Engine Documentation
-
download ChaosDestructionDemo project and generate sln file with 4.25 engine
-
build and run, the problem happened with below
LogInit: Display: Running incorrect executable for target. Launching Unreal Projects/ChaosDestructionDemo/Binaries/Win64/ChaosDestructionDemoEditor.exe…
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
My UE4Editor.Target.cs looks like below
public UE4EditorTarget( TargetInfo Target ) : base(Target)
{
Type = TargetType.Editor;
BuildEnvironment = TargetBuildEnvironment.Unique;
bBuildAllModules = true;
ExtraModuleNames.Add("UE4Game");
bCompileChaos = true;
bUseChaos = true;
bOverrideBuildEnvironment = true;
}
I also tried to change BuildEnvironment = TargetBuildEnvironment.Shard, but this will make ChaosDestructionDemo as a zombie process.