Skip to content

fix: Duplicating null NetworkVariables#3891

Open
EmandM wants to merge 2 commits intodevelop-2.0.0from
fix/null-networkvariable-duplicate
Open

fix: Duplicating null NetworkVariables#3891
EmandM wants to merge 2 commits intodevelop-2.0.0from
fix/null-networkvariable-duplicate

Conversation

@EmandM
Copy link
Member

@EmandM EmandM commented Mar 6, 2026

Purpose of this PR

Ensure NetworkVariable.Duplicate() doesn't throw an exception if a value is null

Fixes: #3888

Jira ticket

n/a

Changelog

  • Fixed: NestedNetworkVariables initialized with no value no longer throw an error.

Documentation

  • No documentation changes or additions were necessary.

Testing & QA (How your changes can be verified during release Playtest)

Functional Testing

Manual testing :

  • Manual testing done

Automated tests:

  • Covered by existing automated tests
  • Covered by new automated tests

Does the change require QA team to:

  • Review automated tests?
  • Execute manual tests?
  • Provide feedback about the PR?

If any boxes above are checked the QA team will be automatically added as a PR reviewer.

Backports

@EmandM EmandM requested a review from a team as a code owner March 6, 2026 19:29
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.

Netcode Issue(?)

1 participant