Summary: Units with custom names can become invisible after combat


Description: I don't know for sure how to reliably reproduce this, but after giving a unit a custom name, it will sometimes become invisible after resolving a combat encounter (~40% of the time).


Steps to Reproduce:

  1. Start a new game
  2. Play naturally, renaming every unit you receive as you earn it
  3. Initiate combat whenever the opportunity arises
  4. Resolve the fight and see if the unit is still visible

Expected Behavior: Units will remain visible at all times


Notes:

  1. I've only observed this when I start combat by attacking (i.e. I haven't seen this as a defender)
  2. I think that invisibility may also be caused by some other encounters--I noticed a unit had become invisible after triggering an event about rescuing survivors from a fire--but I'm less sure about this
  3. Reloading a save makes the invisible units visible again

Build: Victor OpenDev