If same console commands are executed in console, replay works as expected.If same series of commands are executed from BP or appropriate c++ equivalent, replay camera is stuck on 0,0,0 unable to move or rotate. Physics actors are moving, but taking different paths than in the recorded demo. (Despite their movement being replicated)
After speaking with a few of our networking devs, there are a few issues that are actively being worked on/have been fixed. Unfortunately, the fixes will not be available in the latest engine version as far as I can tell.
I have the same problem and searched the Github’s Pull Requests, then I found this solution submitted by a game dev: fix replay bug when play from 3D widget
I have tried and it perfectly solved my problem!
According to the codes, it looks like when starting playing replay, the World loading/unloading and DemoNetDriver initialization are in the different threads.
After DemoNetDriver starts initialization and before it finishes initialization, the World changes map and clear all the net drivers, which makes crash and stuck later.