Page MenuHomeFeedback Tracker

MuzzleComponent default prefab OnParentSlotChanged arguments invalid
Closed, ResolvedPublic

Description

When a magazine is spawned to a weapon through the MuzzleComponent magazine template the InventoryItemComponent::OnParentSlotChanged invokes but the new slot argument has no data populated.

SCRIPT       : {0A84AA5A3884176F}Prefabs/Weapons/Magazines/Magazine_545x39_AK_30rnd_Last_5Tracer.et
SCRIPT       : -1
SCRIPT       : MuzzleComponent<0x000001E407E80510>
SCRIPT       : NULL

Optics of UGL however seem to work just fine

SCRIPT       : {1ABABE3551512B0A}Prefabs/Weapons/Attachments/Underbarrel/UGL_GP25.et
SCRIPT       : 1
SCRIPT       : AttachmentSlotComponent<0x000001E466296C10>
SCRIPT       : SCR_WeaponAttachmentsStorageComponent<0x000001E4006541E0>

The event args should be fixed to return the correct data.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

Arkensor created this task.May 5 2023, 12:15 PM
Geez changed the task status from New to Assigned.May 10 2023, 11:04 AM
Geez closed this task as Resolved.May 23 2023, 12:50 PM
Geez claimed this task.
Geez added a subscriber: Geez.

Resolved for 0.9.9