Page MenuHomeFeedback Tracker

enableWeaponDisassembly effect is delayed on remote entities
Feedback, NormalPublic

Description

When enableWeaponDisassembly is executed on remote entities, effect is seen after a noticeable delay, while it should be instant on all clients.

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

Setup a game with 2 players looking at a disassemblable static weapon or drone:

  1. As a non-owner of the vehicle, execute cursorTarget enableWeaponDisassembly false while looking at the vehicle
  2. Observe that owner has "Disassemble" action removed instantly
  3. Observe that command executor has action visible for few more seconds

Event Timeline

SaMatra created this task.Apr 17 2023, 6:44 PM
dedmen set Ref Ticket to AIII-55653.Apr 17 2023, 6:45 PM
SaMatra edited Steps To Reproduce. (Show Details)Apr 17 2023, 6:46 PM
dedmen changed the task status from New to Feedback.EditedApr 18 2023, 12:16 PM
dedmen added a subscriber: dedmen.

dev branch this week, prof v4.
The repro was incomplete. Executing script locally on vehicle owner is also delayed, and involving a third player would also show delay.
Only fixing the script executor <-> vehicle owner case wouldn't have fixed the real issue.
You actually found a bug here that existed since dynamic simulation was added about half a decade ago :D