Skip to content

NetworkManager doesn't spawn my custom mesh properly (on client/host) #997

@ghost

Description

I built my prefab (not nested) and registered it as the default player prefab, this prefab contains a pistol model. Then I started the game as a host and noticed that only parts of the pistol mesh loaded. After this attempt I launched a standalone server and connected to it as a client only. On the server the mesh displays properly but on the client the issue persists and only about half of the gun loads.

The image below is on host.

PistolMeshOnHost

The left is on server and the right is on client.
ServerVsClient

Here are the components I attached to my prefab.

FpsControllerComponents

Here is the network manager and its components.

NetworkManagerComponents

Here is the network manager script with some of its details.

NetworkManagerDetails

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:supportQuestions or other support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions