MirrorNetworking / MirrorNetworking/Mirror

PredictedRigidbody RecordState can early out even when not intended

Open
#3,926 1 comment 0 reactions 1 assignee View on GitHub

@miwarnec is already working on this.

Since Oct 17, 2024.

bug
Dominant language
C#
Stars
6.3k
Forks
870
PR merge metrics
No merged PRs in 30d

Description

PredictedRigbody -> RecordState function has an early out to not run except at a set interval. But OnRecievedState, which comes from the server, fires RecordState expecting it to always save the state so we can compare with the most up to date information. So I think there needs to be a function or parameter that lets the recording function always fire. This probably only causes minor out of sync issues unless you set the recordInterval high.

Mirror Version: 89.15.6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.