LineTrace: TraceChannel vs ObjectQueryParams

I was expecting the following two calls to be doing the same thing, but they are not:


World->LineTraceSingle(Hit, Start, End, FCollisionQueryParams{}, FCollisionObjectQueryParams{ ECC_TO_BITFIELD(ECC_WorldDynamic) });

World->LineTraceSingle(Hit, Start, End, ECC_WorldDynamic, FCollisionQueryParams{});

The first call works as expected, the second appears to return hits on all object types. It seems the TraceChannel parameter of the second overload is taken in a different way. Can anyone explain how it is intended to be used?