Skip to content

Conversation

@NoelStephensUnity
Copy link
Collaborator

This PR addresses an issue where NetworkBehaviour could throw an exception if viewed within the inspector view during a distributed authority network topology based session and using a DAHost that is not the authority of the associated NetworkObject.

This PR also addresses the issue where the authority does not have editable inspector view fields when viewed by the authority during a distributed authority session.

Changelog

-Fixed: Issue where viewing a NetworkBehaviour with one or more NetworkVariable fields could throw an exception if running a distributed authority network topology with a local (DAHost) host and viewed on the host when the host is not the authority of the associated NetworkObject.

-Fixed: Issue when using a distributed authority network topology and viewing a NetworkBehaviour with one or more NetworkVariable fields in the inspector view would not show editable fields.

Testing and Documentation

  • No tests have been added.
  • No documentation changes or additions were necessary.
  • Manually testing this is required to validate.

Backport

This is a v2.x distributed authority specific issue. No back port is needed.

This fixes the issue where network variables would throw an exception in distributed authority mode when viewing a NetworkBehaviour on a DAHost.
Adding change log entry.
Adding another change log entry.
Adding the associated PR number to the changelog entries.
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review August 4, 2025 15:55
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner August 4, 2025 15:55
Fixing spelling issue with Unreleased section.
@NoelStephensUnity NoelStephensUnity enabled auto-merge (squash) August 4, 2025 16:12
Adding missing '-'.
Updating comment to better reflect the change.
Removing white spaces.
@NoelStephensUnity NoelStephensUnity merged commit e7b14c2 into develop-2.0.0 Aug 5, 2025
25 checks passed
@NoelStephensUnity NoelStephensUnity deleted the fix/networkbehaviour-inspector-view-exceptions-distributed-authority branch August 5, 2025 08:16
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.

4 participants