Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-11589

Launcher fails to launch Minecraft with unicode in Windows username

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 2.1.5385-2.1.5387
    • Minecraft Launcher
    • Unconfirmed

      Problem

      **I created a local user account on Windows 10 (1903) where the username was just a single unicode character (☃). This resulted in the user's home directory becoming `C:\Users\☃\`.

      After installing the launcher and downloading the latest Minecraft (1.14.4), the launcher fails to launch the game. 

      When the launcher fails to launch the game, A dialog box shows up with "An unexpected issue occurred and the game has crashed...", clicking on "View crash report" does not do anything.

       

      Reproduction

      1. Create a new account in Windows 10
        1. Settings
        2. Accounts
        3. Family & Other users
        4. Add someone else to this PC
        5. The person I want to add doesn't have an email address
        6. Add a user without a Microsoft account
        7.  For the username insert the snowman emoji ☃.
          1. Press [Start][.] to bring up the emoji panel.
          2. Search for "snowman"
          3. Press [Enter]
        8. Leave the password blank and continue
      2. Switch to the new ☃ account
        1. Click on Start
        2. Click on your user Icon
        3. Select the ☃ account
      3. Open the Minecraft Launcher
      4. Install and launch minecraft
      5. Observe that the game failed to start and the launcher does not have any crash logs.

      Notes

      By enabling the output log in the settings, I can see that the game almost started, but fails with Error: Could not find or load main class net.minecraft.client.main.Main

       

      16:09:22 launcher main debug Local file C:\Users\☃\AppData\Roaming\.minecraft\assets\objects\dd\dda1aba6d94904d8f2da651c2b31e1954146b8f2 has hash of dda1aba6d94904d8f2da651c2b31e1954146b8f2
      16:09:22 launcher main debug Local file C:\Users\☃\AppData\Roaming\.minecraft\assets\objects\3c\3c2a21c08602fe8c794081c6c6f92ca394acf3d4 has filesize of 23120 bytes
      16:09:22 launcher main debug Local file C:\Users\☃\AppData\Roaming\.minecraft\assets\objects\3c\3c2a21c08602fe8c794081c6c6f92ca394acf3d4 should have hash of 3c2a21c08602fe8c794081c6c6f92ca394acf3d4
      16:09:22 launcher main debug Local file C:\Users\☃\AppData\Roaming\.minecraft\assets\objects\3c\3c2a21c08602fe8c794081c6c6f92ca394acf3d4 has hash of 3c2a21c08602fe8c794081c6c6f92ca394acf3d4
      16:09:22 launcher main debug Local file C:\Users\☃\AppData\Roaming\.minecraft\assets\objects\1b\1b760a887cc727484fa1685bf3d8670899c86654 has filesize of 19905 bytes
      16:09:22 launcher main debug Local file C:\Users\☃\AppData\Roaming\.minecraft\assets\objects\1b\1b760a887cc727484fa1685bf3d8670899c86654 should have hash of 1b760a887cc727484fa1685bf3d8670899c86654
      16:09:22 launcher main debug Local file C:\Users\☃\AppData\Roaming\.minecraft\assets\objects\1b\1b760a887cc727484fa1685bf3d8670899c86654 has hash of 1b760a887cc727484fa1685bf3d8670899c86654
      16:09:22 launcher main info Checking installations.
      16:09:22 launcher main info Minecraft client 1.14.4 is ready to start.
      16:09:22 launcher main info Starting!
      16:09:22 launcher main debug Nothing to download!
      16:09:22 launcher main debug Extracting 7 files!
      16:09:24 launcher main info Using default game log configuration client-1.12.xml (outputs XML)
      16:09:36 launcher main debug Installing versions!
      16:09:37 launcher main info Error: Could not find or load main class net.minecraft.client.main.Main
      16:09:37 monitor Process Monitor fatal Process crashed with exit code 1

      I hope this helps

       

       

       

            Unassigned Unassigned
            NZSmartie Roman V
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: