Skip to content

Conversation

@fluong6
Copy link
Collaborator

@fluong6 fluong6 commented Aug 15, 2024

Preventing invalid read and write operations when m_NetworkBehaviour is not in a valid state.

Changelog

  • Fixed issue by adding null checks in NetworkVariableBase.CanClientRead and NetworkVariableBase.CanClientWrite methods to ensure safe access to NetworkBehaviour.

Testing and Documentation

  • No tests have been added.

@fluong6 fluong6 requested a review from a team as a code owner August 15, 2024 21:03
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@fluong6 fluong6 merged commit beb08e8 into develop Aug 19, 2024
@fluong6 fluong6 deleted the fix/can-client-null-safety branch August 19, 2024 18:52
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.

3 participants