Skip to content

Conversation

@rohitkulkarni97
Copy link
Contributor

@rohitkulkarni97 rohitkulkarni97 commented Jan 13, 2026

Summary

The problem was that the item GloveInsulated prefab had the NetworkTransform component's "ClientAuthoritative" property set as true, but the code allows only the server to set the Rigidbody component's "IsKinematic" property to be set to false upon releasing the object from the inventory slot. When happening on the host, this interaction behaves properly because the host is the owner client for the object, but when a client owns the object, even though the server side object falls to the ground, the client, being the owner of the object, doesn't let the object fall to the ground at its end.

PR checklist

  • The game builds properly without errors.
  • No unrelated changes are present.
    A few prefabs have changes that are related to previous changes. (e.g., clothType property was removed in a previous PR, but the prefbas weren't updated)
  • No "trash" files are committed.
  • Relevant code is documented.
  • Update the related GitBook document, or create a new one if needed.

Pictures/Videos)

image Before image After

Testing

Networking checklist

  • Works from host in host mode.
  • Works from server in server mode.
  • Works on server in client mode.
  • Works and is syncronized across different clients.
  • Is persistent.

Changes

Changed all the 87 item prefabs' NetworkTransform component's "Client Authoritative" property to false.

Related issues/PRs

Items dragged out of slot freeze mid air on client #1360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant