Skip to content

hasAuthority is false for NPCs #3528

@miwarnec

Description

@miwarnec

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions