Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPC SyncDirection .authority is false #3529

Closed
miwarnec opened this issue Jun 27, 2023 · 1 comment
Closed

NPC SyncDirection .authority is false #3529

miwarnec opened this issue Jun 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@miwarnec
Copy link
Collaborator

see also: #3495

repro:

  • Tanks demo
  • drag Tank into scene, name it SceneTank
  • add log message:
        void Start()
        {
            Debug.LogWarning($"{name} hasAuthority={hasAuthority} isOwned={isOwned} authority={authority}");
        }

it works properly for the player's tanks.
for the NPC in the scene, it's always false.
even though server owns it.

@miwarnec miwarnec added the bug Something isn't working label Jun 27, 2023
@miwarnec
Copy link
Collaborator Author

fix incoming:
2023-06-27 - 12-18-32@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant