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).
Description
Description
Details
Details
- Severity
- Crash
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 11 x64
- Category
- General
Steps To Reproduce
- Open HelperCompartmentTest in experimental workbench
- Open worlds/Test/Test.ent in world editor.
- Switch to game mode
- 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).