Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

OwnerNetworkAnimator.SetTrigger not immediately triggered for Owner = Server case #3576

Copy link
Copy link
@LaPluses

Description

@LaPluses
Issue body actions

Description

I copy paste this OwnerNetworkAnimator script, and find it has issue when the owner is server.

And am using the traditional CS mode, not the DistributedAuthorityMode.

The issue is here NetworkAnimation.cs.

Image

When the server is the owner(and sure it's the host), its SetTrigger will not immediately call InternalSetTrigger() function.

But if it's not the server, then everything goes well, it will immediately trigger(because we override OnIsServerAuthoritative function and IsServerAuthoritative actually the delegate call of it).

From my understanding, the OwnerNetworkAnimator is to make the owner trigger any animation changes immediately, so it should do same for the server = owenr case, and i do believe this is a bug.

Reproduce Steps

I've already explained in Description section.

Actual Outcome

When the owner is the server, its SetTrigger not immedidately triggered in local client.

Expected Outcome

Neither the owner is server or not, it's SetTrigger call should be immediately triggered.

Screenshots

Already posted the screenshot for the code.

Environment

  • OS: Windows.
  • Unity Version: Unity 6
  • Netcode Version: 2.4.4
  • Netcode Commit: N/A
  • Netcode Topology: Client-Server

Additional Context

N/A

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:highThis issue has high priority and we are focusing to resolve itThis issue has high priority and we are focusing to resolve itstat:importedStatus - Issue is tracked internally at UnityStatus - Issue is tracked internally at Unitytype:bugBug ReportBug Report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.