B_UAV_AI cannot be deleted on the client. Because of this each dead UAV with AI pilot brings performance down, and quite significantly. 100 dead UAVs and my client crippled at 5 FPS.
Description
Details
- Legacy ID
- 1995518607
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- UAV (Unmanned Aerial Vehicle)
Start dedicated server
join
execute on the server
- spawn {
for "_i" from 0 to 100 do {
_uav = createVehicle ["B_UAV_01_F", [0,0,10000], [], 0, "FLY"]; createVehicleCrew _uav; sleep 0.1; _uav setDamage 1; sleep 0.1; deleteVehicle _uav;
};
};
enjoy your client dropping to its knees.
After 10 seconds execute on the server
diag_log alldeadmen => []
execute on the client
hint str alldeadmen => 100 dead AIs!!!
execute on the client
{deletevehicle _x} foreach alldeadmen;
hint str alldeadmen => 100 dead AIs!!!
execute on the client
logentities
as a bonus.
Event Timeline
Hello,
should be fixed on Steam Dev rev. 125595 and higher. Could you please confirm?
Thank you very much.
Thank you Druid and Iceman, all AIs are now deleted when vehicle is deleted, no more FPS dropping.
Mass closing tickets marked as resolved more than 1 month ago.
If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.