Feb. 8 Changelog

1. Profile Display – Fixed White Square Issue

What was broken:

New player profiles showed a white square instead of the default profile image after registration.

Why it happened:

The profile frame cosmetic wasn’t being granted during new player registration. Profile frames are images with transparent centers that allow the profile image to show through. When no frame was set, Unity displayed a default white square with no transparency, completely blocking the profile image underneath.

What we fixed:

  • New players now automatically receive a default profile frame during registration
  • Profile frames are now properly granted and equipped alongside profile images
  • Profile images display correctly from the moment a new account is created

Who this affects:

  • New players: Profile image displays correctly immediately after registration
  • Existing players: No changes to existing accounts (if you had the white square, selecting any profile frame will fix it)

 2. Registration Username Now Sets Profile Display Name

What was broken:

When players registered with a username, their profile display name defaulted to “Unknown Player” instead of using the registration username they just entered.

Why it happened:

The registration flow wasn’t passing the username to the player initialization system, so new player profiles were created with the generic “Player” default name.

What we fixed:

  • Registration username is now automatically used as the initial profile display name
  • Cloud Code `initializeNewPlayer` endpoint now accepts an optional `displayName` parameter
  • Client registration flow updated to retrieve and pass the username after successful sign-up
  • Account linking also properly sets the username as the display name

How it works now:

  1. Player enters username during registration (e.g., “CoolPlayer123”)
  2. After successful account creation, that username is passed to initialization
  3. Player profile is created with display name set to “CoolPlayer123”
  4. Profile immediately shows the chosen username instead of “Unknown Player”

Who this affects:

  • New players: Your registration username will be your initial profile display name
  • Existing players: No changes to your current display name
  • Note: Players can still change their display name later in profile settings

3. Retreat Narrative – Fixed Missing Messages

What was broken:

When retreating from a match, the loss panel showed the placeholder text “What went wrong will appear here” instead of displaying the snarky retreat messages.

Why it happened:

The loss panel only displayed narrative text when match odds tracking data was available. When players retreated early (before sufficient match data was recorded), the odds tracker had no snapshots, causing the narrative display to be skipped entirely and leaving the placeholder text visible.

What we fixed:

  • Retreat messages now display correctly regardless of when the retreat occurs
  • Added fallback retreat messages for early retreats (before odds tracking begins)
  • Updated loss panel logic to always attempt to show narrative text
  • Proper retreat messages display whether you retreat early, mid-match, or late

Retreat messages include:

  • “You retreated.”
  • “You didn’t feel like you had the right cards.”
  • “Decided to cut your losses. Fair.”
  • “Sometimes it’s better to run. Not this time.”
  • “Retreat is a valid strategy. Just not a winning one.”

Who this affects:

  • All players: Retreat messages now work properly in all scenarios
  • Early retreats: Shows fallback messages when match data isn’t available
  • Mid/late retreats: Shows context-aware messages based on match state
  • Normal losses: No changes to regular loss narrative display

What to Test

  1. New Player Registration
  2. Create a new account with a username (e.g., “TestPlayer99”)
  3. Verify profile displays your username (not “Unknown Player”)
  4. Verify profile image displays correctly (no white square)
  5. Verify profile frame appears around the image

Retreat Testing

  1. Start a match and retreat immediately during deck selection
  2. Verify loss panel shows a retreat message (not placeholder text)
  3. Start another match, play a few rounds, then retreat
  4. Verify retreat message displays correctly
  5. Play a match normally to completion and lose
  6. Verify normal loss narrative still works

Profile Customization

  1. Change your display name in profile settings
  2. Verify name updates correctly
  3. Change profile frame cosmetic
  4. Verify frame and image both display properly

Summary

What changed this build:

  • Fixed new player profile display (no more white squares)
  • Registration username now becomes your initial profile display name
  • Retreat messages display correctly in all scenarios

Impact:

  • Improved new player onboarding experience
  • Better profile identity from account creation
  • More consistent narrative feedback during matches

Compatibility:

  • Fully backwards compatible with existing accounts
  • Cloud Code updates deployed and active
  • No data migration required