Closed pepoipod closed 1 month ago
Hey @pepoipod how did you fix this? You should be able to open a PR if you fork Mirror, create a branch with your change, push it, and then go to mirror -> pull requests, github will suggest you to open your branch as PR
@miwarnec Thanks for letting me know, I will create a Pull Request as soon as possible.
closing thanks to https://github.com/MirrorNetworking/Mirror/pull/3864
Describe the bug
ReaderWriterProcessor
registers a custom Reader/Writer included in AssemblyReferences of CurrentAssembly. However, in a complicated case, when a NetworkMessage contained in AssemblyReferences requires a Reader/Writer that is not contained in its CurrentAssembly.AssemblyReferences,Reader<T>.read
contains the one generated withReaders.GenerateClassOrStructReadFunction()
will be inserted.[IMPORTANT] How can we reproduce the issue, step by step:
Readers.GenerateClassOrStructReadFunction()
will not insert a value, making it easier to test.Expected behavior The value incremented by SyncList must be set correctly.
Desktop (please complete the following information):
Additional context I fixed this issue locally. also ready to submit a PullRequest. If you don't mind, could you add me as a contributor?