Record and Replay issues after new serialization update #3862
Labels
Category: Performance
Requests, Issues and Changes targeting performance
Topic: Architecture
Requests, Issues and Changes related to software architecture, programming patterns, etc.
Type: Bug
Issues reporting and PRs fixing problems
After the newSerialization branch was merged, the Record & Replay feature stopped working normally under most conditions. While short recordings on worlds with a low number of modules operate correctly, longer recordings made on worlds with many modules cause errors on replay.
When a recording session is finished, the process of saving each recorded event takes a long time under the new serialization updates. This results in
TaskMaster
killing the thread with this message:[main] WARN o.t.utilities.concurrency.TaskMaster - Timed out awaiting thread termination
Therefore recordings end up with an incomplete save, and the game throws errors when loading one of these bugged recordings (this exception repeats similarly for the files
file_amount.json
,state_event_position.json
,direction_origin_list.json
, and more):The game continues despite these errors, and the world loads in without a replay, as if the game was launched normally.
Resources
Terasology/engine/src/main/java/org/terasology/recording/RecordAndReplaySerializer.java
Line 89 in 4e95d49
The text was updated successfully, but these errors were encountered: