MirrorNetworking / MirrorNetworking/Mirror
PredictedRigidbody RecordState can early out even when not intended
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.