Skip to content

Conversation

@NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Jul 27, 2024

A different approach to fixing the issue with a missing byte serializer.

fix: #2920

Changelog

  • Fixed: Issue where FixedStringSerializer<T> was using NetworkVariableSerialization<byte>.AreEqual to determine if two bytes were equal causes an exception to be thrown due to no byte serializer having been defined.

Testing and Documentation

  • No tests have been added.
  • No documentation changes or additions were necessary.

Updating version of package and changelog version
removing the [GenerateSerializationForType(typeof(byte))] attributes.
fixing the issue of a missing byte serializer for fixedstrings.
removing whitespace
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review August 6, 2024 00:20
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner August 6, 2024 00:20
@NoelStephensUnity NoelStephensUnity enabled auto-merge (squash) August 6, 2024 00:21
@NoelStephensUnity NoelStephensUnity merged commit cb11580 into develop Aug 6, 2024
@NoelStephensUnity NoelStephensUnity deleted the fix/fixedstring-byte-writing-and-comparing branch August 6, 2024 14:37
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.

NullReferenceException: Object reference not set to an instance of an object Unity.Netcode.FixedStringSerializer`1[T].WriteDelta

3 participants