Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix replay playback bugs #5604

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ElectroJr
Copy link
Member

Fixes replays never creating implicit component states, which was causing exceptions when trying to apply physics component delta states. Also fixes a bug where entities were being initialized out of order, though I'm not sure if this actually caused issues, but its been making a debug assert added in #5343 fail.

@ElectroJr ElectroJr added the Issue: Bug This issue is a bug report. label Jan 13, 2025
Comment on lines +47 to +48
var created = _gameState.ApplyGameState(state, next);
_gameState.GenerateImplicitStates(created);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part is what fixes the replay delta state exceptions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Bug This issue is a bug report.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant