Skip to content

[2.13.0] Default Player Prefab causes "In-Scene placed NetworkObject soft synchronization failure" #4049

Description

@Valerionn

I've recently upgraded to 2.13.0, and when trying to run my game with a client using the Multiplayer Play Mode, I now encounter "NetworkPrefab hash was not found! In-Scene placed NetworkObject soft synchronization failure for Hash: 320...219!".

I've figured out that the hash is the hash of my default player prefab (which is not in-scene placed, the only reference to it is the default prefab field). When I remove it from the default player prefab, everything works as expected.

I tried to add the prefab explicitly to the network prefab list (which I set at runtime) which then causes a "duplicate GlobalObjectIdHash" error for the hash, followed by the "did not find prefab with the hash" error which is definitely a bit strange:

Image

Downgrading to 2.12.0 fixes the issue without any changes, so it was definitely introduced with 2.13.0

I'm using the Server-Client architecture

Metadata

Metadata

Assignees

No one assigned

    Labels

    stat:awaiting-triageStatus - Awaiting triage from the Netcode team.stat:reply-neededAwaiting reply from Unity accounttype:bugBug Report

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions