Dear Epic,
#Issue
The only BP code in this project is this 1 picture, and it still causes the hang, in a BP only project
Test is a valid replay file that loads fine if I use the console directly. But if I try to use this console command BP node, (I am not using PIE but uproject->Launch Game with editor closed), then the game permanently hangs!
If you try to use Demoplay via a ConsoleCommand blueprint node, it hangs the game forever!
This is a critical bug because it means the only way to play a demo is by telling players to type into the console, which means a non-shipping build.
This bug basically prevents using demo recording in a full game release.
#Repro
Make sure to do these tests only when editor is closed, by right clicking on .uproject and Launch Game
- record a replay, making sure to use open ?listen first, and then in the console type “demorec test”
- when satisified, do console command “demostop”
- reload the game, either with open ?listen or close and re-launch the game
- in console command type “demoplay test”
- everything will be fine!
- reload the game, and press p, game will hang forever, and all I did was ExecuteConsoleCommand “demoplay test” via blueprint node in custom player controller class
#Sample Project
I am providing you with a sample project that you can run to see this hang!
www.lightningfitness.org/misc/video/DemoPlayHang.zip
I included the save folder in my sample project, you can simply run the game via right click on .uproject and “Launch Game/” then press P, and game will hang forever.
I already recorded the replay for you, its called “test”
If you want to do it yourself, you can follow my steps above!
In the editor, you can check out my PC blueprint under BP folder, it contains only this, which causes the hang:
#Conclusion ~ Demo Replay system totally unusable in 4.11
The demo replay system is unviable in a final product because users have to enter into the console directly, again I am testing this in a bp-only project with a maximm of 2 custom nodes, key event and execute console command.
#
Rama