BattletechModders / BattletechModders/DisorderlyWithdrawal

NRE reported

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

As per ticket-0743, error caused after trying to withdraw, waiting 4 turns then hitting the button again:

NullReferenceException: Object reference not set to an instance of an object
at DisorderlyWithdrawal.Patches.CombatHUDRetreatESCMenu_Update.Postfix (BattleTech.UI.CombatHUDRetreatEscMenu,BattleTech.CombatG
at (wrapper dynamic-method) BattleTech.UI.CombatHUDRetreatEscMenu.Update_Patch1 (object) <0x00121>

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the withdrawal flow described in the issue: wait four turns, then press the button again. Inspect DisorderlyWithdrawal.Patches.CombatHUDRetreatESCMenu_Update.Postfix and the BattleTech.UI.CombatHUDRetreatEscMenu.Update call path to identify the null reference; done means the repeated withdrawal attempt no longer throws this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.