Page MenuHomeFeedback Tracker

Vehicle lag on client when launcher spawned into inventory
Confirmed Internally, NormalPublic

Description

Extreme vehicle lag happens on client when i try add RPG7 or M72 launchers with TrySpawnPrefabToStorage or TryInsertItem (SCR_VehicleInventoryStorageManagerComponent).
Same problem when add launcher on vehicle's SCR_UniversalInventoryStorageComponent in WB.

Video: https://github.com/HTomJMW/up/raw/master/lagbug.mp4

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

WAY 1:
Easy test with remote console:

Run this code on server when targeting on vehicle:

IEntity cursorTarget = null;
CameraManager cameraManager = GetGame().GetCameraManager();
CameraBase current = cameraManager.CurrentCamera();
cursorTarget = current.GetCursorTarget();
InventoryStorageManagerComponent ismc = InventoryStorageManagerComponent.Cast(cursorTarget.FindComponent(SCR_VehicleInventoryStorageManagerComponent));
ismc.TrySpawnPrefabToStorage("{7A82FE978603F137}Prefabs/Weapons/Launchers/RPG7/Launcher_RPG7.et");

Enter vehicle with peer tool client and drive.

WAY 2:
Put UAZ to world, select SCR_UniversalInventoryStorageComponent, add RPG7 to initial storage slot.
Run mission with peer tool. Get in vehicle with client and drive.

Additional Information

Vehicle lag happening only on clients.
Tried all physics settings on SCR_UniversalInventoryStorageComponent but nothing changes.
Same result on dedicated server too.
SCR_VehicleInventoryStorageManagerComponent initial inventory items in WB not working for me....

Event Timeline

HTom created this task.Sat, Apr 6, 11:19 PM
HTom added a comment.Sun, Apr 7, 11:39 AM

+ Take out launcher from vehicle inventory not helps, bug is pernament.

Geez changed the task status from New to Awaiting internal Testing.Mon, Apr 8, 11:21 AM
Geez changed the task status from Awaiting internal Testing to Confirmed Internally.Thu, Apr 11, 3:45 PM