Skip to content

Different approaches to read and write unpacked Int64 #1072

Description

@am1goo

Unity Version: 6000.2.6f2
Fish-Networking Version: V4, commit 2742f23 (the latest)
Troubleshooting link in Discord: no link, according to https://fish-networking.gitbook.io/docs/guides/troubleshooting/creating-bug-reports

Actual behaviour:
WriteInt64Unpacked using WriteUInt64 and WriteUnsignedPackedWhole in the nutshell, can write from 1 to 8 bytes and it is not compatible with ReadInt64Unpacked which always read 8 bytes.

Expeceted behaviour:
WriteInt64Unpacked using WriteUInt64Unpacked((ulong)value) to be compatible with ReadInt64Unpacked which always read 8 bytes.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions