Jump to content

Possible Rubber banding lag issues

Pending 1.8.4

SlayersRust
SlayersRust

Posted (edited)

Getting tons of rubber banding lag and trying to diagnose the cause. Getting this spam in my logs and I know your plugin has some lines related to drones. I thin k its very possible something is getting bugged with the placed Better Sentry Turrets then something is happening during restarts.

        public const string cameraPrefab = "assets/prefabs/deployable/drone/drone.deployed.prefab";

  at (wrapper managed-to-native) UnityEngine.Rigidbody.set_isKinematic(UnityEngine.Rigidbody,bool)
  at Drone.OnPhysicsNeighbourChanged () [0x00000] in <aa47fb500fa542cda5d4e0eed0ac3eee>:0 
UnityEngine.Component:BroadcastMessage(Component, String, Object, SendMessageOptions)
UnityEngine.Component:BroadcastMessage(String, SendMessageOptions)
UpdateSurroundingsQueue:NotifyNeighbours(Bounds)
UpdateSurroundingsQueue:RunJob(Bounds)
ObjectWorkQueue`1:RunQueue(Double)
ServerBuildingManager:Cycle()
ServerMgr:Update()

NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Rigidbody.set_isKinematic(UnityEngine.Rigidbody,bool)
  at Drone.OnPhysicsNeighbourChanged () [0x00000] in <aa47fb500fa542cda5d4e0eed0ac3eee>:0 
UnityEngine.Component:BroadcastMessage(Component, String, Object, SendMessageOptions)
UnityEngine.Component:BroadcastMessage(String, SendMessageOptions)
UpdateSurroundingsQueue:NotifyNeighbours(Bounds)
UpdateSurroundingsQueue:RunJob(Bounds)
ObjectWorkQueue`1:RunQueue(Double)
ServerBuildingManager:Cycle()
ServerMgr:Update()

I wanted to report a possible issue that might be related to BetterSentryTurrets. We are seeing repeated server exceptions that appear to be tied to Drone physics:

NullReferenceException at UnityEngine.Rigidbody.set_isKinematic
at Drone.OnPhysicsNeighbourChanged()
UpdateSurroundingsQueue → ServerBuildingManager → ServerMgr.Update

This error repeats many times and seems to be causing rubber banding for players even though server FPS and ping are normal.

From the logs, it looks like it may be related to drones used as turret cameras (possibly when reloading or restoring sentry turrets on startup).

Server details:

Rust + Oxide latest

Map: Custom map

Plugins: 200+ (can provide full list if needed)

Issue started after recent updates

I just wanted to report it in case it helps track down a bug. 

Thanks again for your work on the plugin.

My best guess is the lag is coming from BetterSentryTurrets destroying the drone camera’s Rigidbody, then Rust later calling Drone.OnPhysicsNeighbourChanged() on that same drone and crashing because the body is gone.

Edited by SlayersRust
Razor

Posted

5 hours ago, SlayersRust said:

Getting tons of rubber banding lag and trying to diagnose the cause. Getting this spam in my logs and I know your plugin has some lines related to drones. I thin k its very possible something is getting bugged with the placed Better Sentry Turrets then something is happening during restarts.

        public const string cameraPrefab = "assets/prefabs/deployable/drone/drone.deployed.prefab";

  at (wrapper managed-to-native) UnityEngine.Rigidbody.set_isKinematic(UnityEngine.Rigidbody,bool)
  at Drone.OnPhysicsNeighbourChanged () [0x00000] in <aa47fb500fa542cda5d4e0eed0ac3eee>:0 
UnityEngine.Component:BroadcastMessage(Component, String, Object, SendMessageOptions)
UnityEngine.Component:BroadcastMessage(String, SendMessageOptions)
UpdateSurroundingsQueue:NotifyNeighbours(Bounds)
UpdateSurroundingsQueue:RunJob(Bounds)
ObjectWorkQueue`1:RunQueue(Double)
ServerBuildingManager:Cycle()
ServerMgr:Update()

NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Rigidbody.set_isKinematic(UnityEngine.Rigidbody,bool)
  at Drone.OnPhysicsNeighbourChanged () [0x00000] in <aa47fb500fa542cda5d4e0eed0ac3eee>:0 
UnityEngine.Component:BroadcastMessage(Component, String, Object, SendMessageOptions)
UnityEngine.Component:BroadcastMessage(String, SendMessageOptions)
UpdateSurroundingsQueue:NotifyNeighbours(Bounds)
UpdateSurroundingsQueue:RunJob(Bounds)
ObjectWorkQueue`1:RunQueue(Double)
ServerBuildingManager:Cycle()
ServerMgr:Update()

I wanted to report a possible issue that might be related to BetterSentryTurrets. We are seeing repeated server exceptions that appear to be tied to Drone physics:

NullReferenceException at UnityEngine.Rigidbody.set_isKinematic
at Drone.OnPhysicsNeighbourChanged()
UpdateSurroundingsQueue → ServerBuildingManager → ServerMgr.Update

This error repeats many times and seems to be causing rubber banding for players even though server FPS and ping are normal.

From the logs, it looks like it may be related to drones used as turret cameras (possibly when reloading or restoring sentry turrets on startup).

Server details:

Rust + Oxide latest

Map: Custom map

Plugins: 200+ (can provide full list if needed)

Issue started after recent updates

I just wanted to report it in case it helps track down a bug. 

Thanks again for your work on the plugin.

My best guess is the lag is coming from BetterSentryTurrets destroying the drone camera’s Rigidbody, then Rust later calling Drone.OnPhysicsNeighbourChanged() on that same drone and crashing because the body is gone.

iT MAY de as the sentry uses drones Drone.OnPhysicsNeighbourChanged is the error but i have had no reports of this

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.8k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.