[Case 1212334] PhysicsStepQuery in BuildPhysicsSystem being recreated excessively

Appears to be related to the latest entities version(0.5 preview 17), 0.4x does not produce this error. Repro project has a specific manifest that reproduces it if for some reason just grabbing the latest entities and physics does not reproduce it(though I expect it does).

1 Like

I have the same issue.

When I comment out

if (HasSingleton<PhysicsStep>())
{
    stepComponent = GetSingleton<PhysicsStep>();
}

in BuildPhysicsWorld, the issue does not occur (I think PhysicsStep does not normally occur in the queries list for BuildPhysicsSystem, but I may be wrong).