Skip to content

Pause replication by removing Replicated#716

Merged
Shatur merged 8 commits into
simgine:masterfrom
cBournhonesque:cb/pause-replication
Jun 26, 2026
Merged

Pause replication by removing Replicated#716
Shatur merged 8 commits into
simgine:masterfrom
cBournhonesque:cb/pause-replication

Conversation

@cBournhonesque

Copy link
Copy Markdown
Contributor

Fixes #714

@Shatur Shatur left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks a lot! I like the new behavior.

I only made a few very minor changes in docs and tests.

@Shatur Shatur enabled auto-merge (squash) June 26, 2026 15:55
@Shatur Shatur merged commit 8898c02 into simgine:master Jun 26, 2026
9 checks passed
@Shatur

Shatur commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@cBournhonesque I think we need to erase information in ClientTicks on Replicated removal 🤔
Otherwise the entity might leak.

@cBournhonesque

Copy link
Copy Markdown
Contributor Author

Hmm.. hopefully this means that unpausing would still work.

@Shatur

Shatur commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

It will replicate the entity from scratch, but the client receive it to the same entity as before 🤔
Another option is to somehow track such entities and on despawn clear the ticks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pause replication without despawning

2 participants