stackcollision / Nebulous-BugReporting

Issue-only repository for reporting bugs in NEBULOUS: Fleet Command
4 stars 0 forks source link

Game 35 NRE when mousing over officer portraits #722

Open ShadowLotus232 opened 1 month ago

ShadowLotus232 commented 1 month ago

Describe the bug Only when mousing over a portrait of an officer.

To Reproduce Steps to reproduce the behavior:

  1. Open up a ship
  2. Expand the officers section
  3. Mouse over a portrait
  4. See NRE spam, no tooltip shows up
  5. Take pointer off portrait and see how the errors stop

Expected behavior No errors and a tooltip

Additional context Happened to host and client

NullReferenceException: Object reference not set to an instance of an object
  at UI.BaseMouseFollowingTooltip.UpdatePosition (UnityEngine.Vector2 mousePosition) [0x00016] in D:\Projects\Unity\Nebulous Conquest\Assets\Source\UI\BaseMouseFollowingTooltip.cs:20 
  at Conquest.UI.Elements.OfficerTooltip.Update () [0x00001] in D:\Projects\Unity\Nebulous Conquest\Assets\Source\Conquest\UI\Elements\OfficerTooltip.cs:72 

(Filename: D:/Projects/Unity/Nebulous Conquest/Assets/Source/Conquest/UI/Elements/OfficerTooltip.cs Line: 72)

Attachments Full log: Game 35 - officer tooltip.log