How to Disable Chaos in UE4 26 (WITH_CHAOS Macro)

I was going to say:

If you search for WITH_CHAOS in .cs files, you’ll see it’s defined in ModuleRules.cs. It’s controlled with whether or not Target.bUseChaos is set somewhere.
Searching for bUseChaos in .cs files, I find it’s set false by default in TargetRules.cs. So I’m not sure where it’d be getting set to false unless you’re using the precompiled editor and they have it set to true.

But you already know about bUseChaos.

Are you compiling the engine yourself or using a precompiled editor? bUseChaos should be all you need, but if you’re using a prebuilt editor I’m not sure how that would work out.

1 Like