Page MenuHomeFeedback Tracker

[1.2] Trying to move in minimalistic compartment set-up crashes workbench
Assigned, NormalPublic

Description

When using Vehicle_Cargo_Base.et with one CargoCompartmentSlot and its PassengerPositionInfo set to an instance of EntitySlotInfo, it was possible to move in this compartment in Reforger 1.1. Trying to do this in 1.2 produces a crash (ID: dc439dfc-86be-44e3-a14e-129cca088cb7 ID: d1fe2423-714a-4d00-bd30-43ed8f2fbc1a).

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
General
Steps To Reproduce
  1. Open HelperCompartmentTest in experimental workbench
  2. Open worlds/Test/Test.ent in world editor.
  3. Switch to game mode (Server localhost + PeerTool) with one peer client.
  4. Execute the code below in the script editor's remote console:
IEntity helper = GetGame().GetWorld().FindEntityByName("HelperCompartment");
SCR_ChimeraCharacter char = SCR_ChimeraCharacter.Cast(GetGame().GetPlayerManager().GetPlayerControlledEntity(2));
SCR_CompartmentAccessComponent compartmentAccess = SCR_CompartmentAccessComponent.Cast(char.GetCompartmentAccessComponent());
compartmentAccess.MoveInVehicle(helper, ECompartmentType.CARGO);

Additional Information

We use a compartment on a helper entity attached to a player for the implementation of carrying other players in ACE Anvil (https://github.com/acemod/ACE-Anvil/tree/master/addons/carrying).

Event Timeline

ookexoo created this task.May 24 2024, 12:02 AM
ookexoo updated the task description. (Show Details)
Geez changed the task status from New to Awaiting internal Testing.May 24 2024, 2:23 PM
Geez changed the task status from Awaiting internal Testing to Assigned.
mrzorn added a subscriber: mrzorn.Jun 26 2024, 3:25 PM

The issue is still there on stable, crash report from ACE Carrying which uses the method: 14151df8-6938-4642-a2ac-a613c56c386e

The crash is caused by doors in doors info list perhaps the game could handle this more gracefully or at least report something to logs.

Thanks to NiiRoZz for the information.

The crash is caused by doors in doors info list perhaps the game could handle this more gracefully or at least report something to logs.

Thanks to NiiRoZz for the information.

This is the reason why carrying still was crashing, but is not what caused the original crash. The test mod doesn't even have a doors info list. Whatever it was got resolved by now. The repro no longer produces crashes.

ookexoo updated the task description. (Show Details)Jul 2 2024, 12:52 AM
ookexoo edited Steps To Reproduce. (Show Details)

Correction, the repro still produces crashes when done with a peer client. I updated the repro accordingly. Latest crash ID: d1fe2423-714a-4d00-bd30-43ed8f2fbc1a.

ookexoo edited Steps To Reproduce. (Show Details)Jul 2 2024, 12:54 AM