OpenRA / OpenRA/OpenRA

NullReferenceException @ hash_ChangesHealth

Open
#20,061 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Crash
Dominant language
C#
Stars
17.4k
Forks
3k
Avg merge
1d 12h
Merged PRs (30d)
14

Description

by @MustaphaTR via Discord

OpenRA engine version faa3be3
Shattered Paradise mod version release-20220529
on map 9100d05cb6e324aa32f515ea6d10fc7ed905b0ed (Atacama by StolenTech).
Date: 2022-06-06 06:53:32Z
Operating System: Windows (Microsoft Windows NT 10.0.19043.0)
Runtime Version: .NET CLR 6.0.5
Exception of type `System.NullReferenceException`: Object reference not set to an instance of an object.
   at hash_ChangesHealth(Object )
   at OpenRA.World.SyncHash()
   at OpenRA.Network.OrderManager.ProcessOrders()
   at OpenRA.Network.OrderManager.TryTick()
   at OpenRA.Game.InnerLogicTick(OrderManager orderManager)
   at OpenRA.Game.LogicTick()
   at OpenRA.Game.Loop()
   at OpenRA.Game.Run()
   at OpenRA.Game.InitializeAndRun(String[] args)
   at OpenRA.WindowsLauncher.WindowsLauncher.RunGame(String[] args)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the reported call path from hash_ChangesHealth through OpenRA.World.SyncHash and OpenRA.Network.OrderManager.ProcessOrders. Use the supplied engine, mod, map, and Windows/.NET versions to reproduce the NullReferenceException if possible. Done means identifying the null object and confirming the crash no longer occurs for this scenario.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.