Download

UE4.26 + Chaos, ChaosPhysics/Overview Page

Hi all,

The current documentation page for Chaos ( https://docs.unrealengine.com/en-US/…iew/index.html ) in Step 5 Verify that UE4Editor.Target.cs looks like the following code block suggests to use BuildEnvironment = TargetBuildEnvironment.Unique; like older Chaos versions, but with 4.26 Unique do not work anymore and cause lots of crashes with other modules (Hololens, GarbageCollector, etcs).

If compiled with BuildEnvironment = TargetBuildEnvironment.Shared; everything works fine.

This is the current UE4Editor.Target.cs that I used that worked:



// Copyright Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;
using System.Collections.Generic;

public class UE4EditorTarget : TargetRules
{
  public UE4EditorTarget( TargetInfo Target ) : base(Target)
  {
    Type = TargetType.Editor;
    BuildEnvironment = TargetBuildEnvironment.Shared;
    bCompileChaos = true;
    bUseChaos = true;
    bBuildAllModules = true;
    ExtraModuleNames.Add("UE4Game");
  }
}

==

Hey DarknessFX! Thanks for letting us know about this. I’ve passed your feedback along so we can look into fixing that page. Thanks again and let us know if you spot anything else that looks off.

it’s fixed, just pressed F5, and waited for 1 hour, I got ue4d.

sorry for bother you.

are you compile unreal 4.26 on win10? i stilll meet compile errors.
anyone meet the same problem too?if someone fix it, could u plz let me know, thanks…

win10
visual studio 2019
unreal 4.26 zip package

just like this…

I pressed F5 nothing happened , And I am using rider may diff settings and shortcut can you explain what happened when you press F5 ?