Page MenuHomeFeedback Tracker

NPE when default conflict loadut has backpack with items in it
Closed, ResolvedPublic

Description

When default loadout for conflict gamemode has backpack with items in it then game will throw null pointer exception when player tries to spawn with that loadout as can be seen on this video:
https://www.youtube.com/watch?v=8NOTUu6w_Xg

Part of the log file from game client when such loadout was used (in this case it was with RHS mod)

Temporary fix (tmp because issue is probably deeper) could be by just adding null check here:


To look like this:

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Override default loadout for conflict gamemode https://enfusionengine.com/api/redirect?to=enfusion://ResourceManager/~ArmaReforger:Prefabs/Characters/Campaign/Final/Campaign_US_Player.et
  2. Add to it a backpack https://enfusionengine.com/api/redirect?to=enfusion://ResourceManager/~ArmaReforger:Prefabs/Items/Equipment/Backpacks/Backpack_ALICE_Medium_assembled.et
  3. Select that backpack as target for initially spawned items - in SCR_InventoryStorageManagerComponent
  4. Save
  5. Load conflict map https://enfusionengine.com/api/redirect?to=enfusion://ResourceManager/~ArmaReforger:worlds/MP/CTI_Campaign_Arland.ent
  6. Hit play
  7. Open menu [F10] and then hit "Respawn"
  8. Select faction that has changed loadout, join squad, go to deployment screen, wait for the timer to reach 0 and spawn

WB will show NPE - in case of normal game client there will be no prompt but game will write that exception to the log file

Event Timeline

Geez changed the task status from New to Awaiting internal Testing.Oct 4 2023, 9:04 AM
Geez closed this task as Resolved.Jan 3 2024, 10:50 AM
Geez claimed this task.