question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Client warning when using NetworkTransform (what is a ClientNetworkTransform?)

See original GitHub issue
positionA local change to {dirtyField} without authority detected, reverting back to latest interpolated network state!
UnityEngine.Debug:LogWarning (object,UnityEngine.Object)

I’m controlling an average FPS player with a camera (which is the parent of a gun with a NetworkTransform) that rotates with the mouse. This warning occurs and the camera can only rotate on the X axis.

Using develop branch (Unity.Netcode). Let me know if you need any other information.

[Side question: what is a ClientNetworkTransform?] [Side question: How do I spawn and destroy a NetworkObject properly?] [Side question: are there any docs?]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
circles-pngcommented, Oct 22, 2021

My console also gets spammed with this warning using the latest development build (17320e0). Iam running the game as host and client and only use ClientNetworkTransform on the playerobject. @ML-10 did you solve it?

Thanks.

I believe this has been fixed with the 1.0.0 prerelease released today. Haven’t tested yet, I’ll comment with an update.

0reactions
JesseOlmercommented, Aug 10, 2022

This issue has been closed because it has been inactive for more than six months, and ClientNetworkTransform is not part of the framework. If you still have issues or questions around the topic, we suggest asking on our discord.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NetworkTransform
This means that changes to transform axis (marked to be synchronized) are detected on the server-side and pushed to connected clients. This also ......
Read more >
Spawning as PlayerObject with ClientNetworkTransform
This works but when the object is spawned on a client, a warning messages occurs saying that the network variable was written before...
Read more >
NetCode For Game Objects Pt 3 - Client Network Transform
Hey All, Apologies for the unclear audio, I had only noticed how the mic had been set up after recording. I'll make sure...
Read more >
COMPLETE Unity Multiplayer Tutorial (Netcode for ... - YouTube
00:00 Getting Started with Unity Multiplayer (Netcode for Game Objects) ... NetworkBehaviour 17:42 NetworkTransform 18:56 Server- Client ...
Read more >
How To Make A Game With Unity Multiplayer Netcode
How To Make A Game With Unity Multiplayer Netcode | Client Network Transform & 3rd Person Camera · Comments31.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found