Skip to content

Recompiling a section with populated AccessibleOverrides corrupts runtime text binding (HUDMESSAGE.MBIN, NMS 178938) #710

Description

@Vertigo5050

NMS version: 178938 (Public)
MBINCompiler version: 7.1.0.1 (Public track, via AMUMSS 5.6.2.0w)
File: UI/HUD/HUDMESSAGE.MBIN
Element: GcNGuiElementData with ID="DISCOVERYTITLE"

Since the latest patch, this element's Layout.AccessibleOverrides now
contains one populated entry:

AccessibleOverride_Layout = "PosY"
FloatValue = "300.000000"

This is the only populated instance of this structure found anywhere
in the file — every other message-title section (LARGETITLE,
STATTITLE, SEASONALTITLE, FANCYTITLE, etc.) has an empty/self-closing
instead.

Repro:

  1. Decompile UI/HUD/HUDMESSAGE.MBIN with MBINCompiler 7.1.0.1.
  2. Edit any unrelated property inside the DISCOVERYTITLE section
    (e.g. Layout.Position Y) and recompile back to .MBIN.
  3. Install the resulting file and trigger a system-arrival "First
    Contact" banner in-game.

Result: the banner renders at the correct (edited) position, but its
title/subtitle text is blank.

Confirmed via A/B test: reverting to the untouched vanilla file
restores the text immediately, with no other change. Editing other
sections in the same file that don't have a populated
AccessibleOverrides entry (e.g. HUDSTATMESSAGECENTRE.MBIN's
TITLELAYER/STAT) works normally.

Suspected cause: the recompiler mishandles serializing this newly
added, populated AccessibleOverrides structure, corrupting whatever
the engine reads at runtime to populate this element's text.

Happy to provide the full decompiled section or test files if useful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn unexpected and/or unintended program behaviour.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions