Page MenuHomeFeedback Tracker

Server crash when unloading Agent from some vehicles
New, NormalPublic

Description

Using "moveOut" on Agent crashes game when used on some vehicles in Dedicated environment, see Repro for details.

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Game Crash
Steps To Reproduce

GLOBAL EXECUTE the below in dedicated server.

if (isDedicated) then {
	0 spawn {
		TAG_unit = createAgent ["C_man_1",((allPlayers select 0) getRelPos [5,0]),[],0,'NONE'];
		missionNamespace setVariable ["TAG_unit",TAG_unit,TRUE];
		
		uiSleep 3;
		
		TAG_unit moveInCargo TAG_vehicle;
		
		uiSleep 3;
		
		
		'moving out unit' remoteExecCall ['systemChat',-2];
		
		uiSleep 2;
		
		moveOut TAG_unit;      // ----- Game crash occurs here
	};
} else {
	_type = 'i_mrap_03_f';
	TAG_vehicle = createVehicle [_type,(player getRelPos [25,0]),[],0,'NONE'];
	missionNamespace setVariable ["TAG_vehicle",TAG_vehicle,TRUE];
	TAG_vehicle setDir ((getDir player) - 180);
};

Event Timeline

If the moveOut command is executed where the Vehicle is local, there is no problem. However if it is executed from where the Vehicle is a remote entity, there can be a game crash. Does not appear to affect units "createUnit".

The repro block has the Vehicle local to the client, while the "moveOut" command is executed from the server.

Fitz23 added a subscriber: Fitz23.Apr 16 2018, 4:30 PM
Dwarden set Ref Ticket to AIII-48972.Apr 27 2018, 12:38 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.EditedThu, May 2, 6:42 PM

Cannot reproduce the crash 1.93.145618