Skip to content

Conversation

@NoelStephensUnity
Copy link
Collaborator

Up-port of #2992
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.

Fixing no byte serializer issue with FixedString serialization.
Removing the `GenerateSerializationForType` attribute from previous fix.
@unity-cla-assistant
Copy link

unity-cla-assistant commented Aug 13, 2024

CLA assistant check
All committers have signed the CLA.

@NoelStephensUnity NoelStephensUnity changed the base branch from develop to develop-2.0.0 August 13, 2024 16:59
Updating change log.
@NoelStephensUnity NoelStephensUnity changed the title Fix/fixedstring byte writing and comparing up port fix: fixedstring byte writing and comparing up port Aug 13, 2024
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review August 13, 2024 17:03
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner August 13, 2024 17:03
@NoelStephensUnity NoelStephensUnity merged commit 57797b7 into develop-2.0.0 Aug 13, 2024
@NoelStephensUnity NoelStephensUnity deleted the fix/fixedstring-byte-writing-and-comparing-up-port branch August 13, 2024 18:24
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