I just built my game for Windows Development and had working replays in it. After I built it for shipping, it didn’t record replay and I can’t find it in C:\Users\JediKnight\AppData\Local\ECR\Saved\Demos
neither I can see the logs to understand what’s wrong (because it’s shipping). WHy?
I had the same issue with the scalability settings. The solution for me was making a game instance and have that instance use my game settings. I just looked in the documentation, replay settings are in there too.
I do have a custom game instance
Ofc
I specially turned on logging in shipping builds for debugging this issue.
It says:
[2023.08.09-14.16.44:571][924]LogNet: CreateNamedNetDriver failed to create driver from definition DemoNetDriver
[2023.08.09-14.16.44:571][924]LogNet: CreateNamedNetDriver failed to create driver DemoNetDriver from definition DemoNetDriver
[2023.08.09-14.16.44:571][924]LogDemo: Warning: RecordReplay: failed to create demo net driver!
Although I added DemoNetDriver definition to GameEngine in DefaultEngine.ini
[/Script/Engine.GameEngine]
+NetDriverDefinitions = (DefName="GameNetDriver",DriverClassName="OnlineSubsystemEOS.NetDriverEOS",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
+NetDriverDefinitions = (DefName="DemoNetDriver",DriverClassName="/Script/Engine.DemoNetDriver",DriverClassNameFallback="/Script/Engine.DemoNetDriver")
The problem was in the cached config in C:\Users\JediKnight\AppData\Local\ECR\Saved\Config\Windows\Engine.ini
. Delete it and it will update the cached one according to the new one. (Your game is not ECR, so replace that folder in the path)
Hey, I figured you to be smarter than me. I didn’t add it there, lol.
Yeah, I didn’t have that issue with the game settings. My fix was just to make a game instance. They do need to list all the default Engine.ini configurations. If they do, somewhere, let me know. The only thing I’ve had to go to that folder for, so far, is to edit the setting for AI perception. I don’t think the senses work otherwise, unless you use C++ to set friendlies, enemies, neutrals. There is so much going on, you never know. It could be a check box you missed.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.