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).

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
  4. Execute the code below in the script editor's remote console:
IEntity helper = GetGame().GetWorld().FindEntityByName("HelperCompartment");
SCR_ChimeraCharacter char = SCR_ChimeraCharacter.Cast(SCR_PlayerController.GetLocalMainEntity());
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.Fri, May 24, 12:02 AM
ookexoo updated the task description. (Show Details)
Geez changed the task status from New to Awaiting internal Testing.Fri, May 24, 2:23 PM
Geez changed the task status from Awaiting internal Testing to Assigned.