Substepping unusable: causes freeze since 4.17

pixelique
Tue, 17 Oct 2017 19:56:47 +0000
World Creation

Game freezes / stops rendering randomly if physics substepping is enabled. This happens in 4.17.2 and 4.18. We didn’t experience this in 16.3.

Steps to reproduce:

open attached example project

build packaged shipping game WindowsNoEditor / by the book

start packaged game

leave idle running

get a coffee

wait for freeze (most often while idle within the first 30 minutes)

If substepping is disabled it won’t stop responding.
Doesn’t seem to happen (or not so often) when “in action”.
Setting a fixed/lower framerate also seems to lessen the chance of a freeze.

Update:
As a workaround we have now set the TG_DuringPhysics to block till complete
LevelTick.cpp: RunTickGroup(TG_DuringPhysics, true);
which lessens the chance of a freeze considerably (to hours rather than minutes), but it still happens. Looks like it is waiting on a task trying to execute TStaticMeshVertexData::GetResourceArray().

6 posts - 1 participant