Demo Recording 4.6 - Crash on playback

link textHey there,

I get crashes upon trying to playback demo’s, using new feature from 4.6. Even on shootergame.

Using console in-game, i type in: “demorec test”

Then

“demoplay test”

Then editor just closes with a error report. (submitted)

Also, is there not a stop recording function? How are we meant to tell engine to stop recording?

Will it instantly stop if i jump out of editor?

Is anybody else able to re-produce this issue?

Thanks, really looking forward to testing this feature!

I’ve got same thing happening on my end. I’ve tried it in a packaged version of shootergame as well and ran into same issue. In packaged game this is what get’s spit out by error reporter.

Assertion failed: RemoteRole == ROLE_Authority [File:D:\Unreal\UnrealEngine\Engine\Source\Runtime\Engine\Private\Actor.cpp] [Line: 2278] 

I’m building from source using release branch from github.

Hey Tesla and Vormulac,

Sorry we didn’t see this earlier. I was able to reproduce this issue in 4.6 and have entered a bug report for it [UE-6477]. I will let you know here when I see any update on it. In meantime, I will see if I can find some answers regarding how to properly use feature, as we don’t have documentation for it just yet. Thanks for report!

Awesome! Thanks . Just one of many reasons I love you guys.

#Standalone

Can you do demos in standalone?

I had no problems creating and playing a demo using commandline version of game (editor never opened)

I’m not quite sure what you mean but I’ve tried in editor (with and without Run Dedicated Server checked), out of editor on a dedicated server and locally (no server).

Any update on this? I am trying on 4.7.1 Preview 4 and even with Shooter example it crashes engine when I type “DemoRec test” and then type “DemoPlay test” → Demoplay causes crash

Unfortunately not yet. bug has not been fixed internally, but it is currently slated to be fixed in 4.8 if possible. I expect proper documentation to follow, but sometimes that takes a bit longer. In meantime, we are not certain what causes crash for some projects and not for others. I will post here as soon as I see any update. Thanks for your patience!

Still exists in 4.10.0 because AuthGameMode is nullptr in InitListen in UDemoNetDriver

Yea, bug is still open for investigation. I’ve bumped community interest on report and added your notes, Kory. Thanks!