I recently added demorec in my UE2 classes to automatically start recording gameplay. I usually can play the game through for an hour, but since I’ve added demorec, the game throws an error consistently after about half an hour with the following error:
I don’t know what demorec is. I’ve never used UE2. Sorry for not providing an answer here for you, but I am just really curious and I have to ask: What project are you working on that’s in UE2, and how long have you been working on it?
Demorec is a console command that allows you record gameplay – it outputs a dem file which you can play afterwards with the console command demoplay. We’re running a navigation study with UE2 and are using a game that was developed awhile ago with some modifications
I did some more testing – it’s not because demorec is running too long, but that when demorec is running in conjunction with a function we have that starts the game after a pause if a certain number of a given keyboard press is detected. This function calls AllActors(), and the game seems to crash when demorec is running AND the function is called 985 - 989 times (tried it a handful of times).
It seems like an interaction between demorec and AllActors() – maybe some (settable??) memory limitation??