Jump to content
  • FormatException when inviting players with special characters in their names


    Civalion

    Summary: Ingame console opens and prints "FormatException: Input string was not in a correct format" whenever inviting a player to a party whose name contains '{' (or likely any special character). The invitation is not sent.

     

    Game Version: A20.3 b3 (most recent as of 2022 April 08)

    Platform: PC

    OS/Version: Windows 10 64x

    CPU Model: AMD Ryzen 7 1700x

    System Memory: 32GB

    GPU Model and VRAM: nVidia GTX 1080 8 GB

    Screen Resolution: 1920x1080

    Video Settings: High

    Game mode: MP host / MP client

     

    Did you wipe old saves? Yes

    Did you start a new game? Yes

    Did you validate your files? Yes

    Are you using any mods? No

    EAC on or off? On

     

    Status: NEW

     

    Bug Description: Players with '{}', or likely any non-ASCII character in their name, cause an exception (FormatException: Input string was not in a correct format) when interacted with in the following ways:

    - Sending/Receiving a party invitation (invitation isn't sent, but received)

    - Sending/Receiving Alliance invitation (invitation isn't sent, but received)

    - Getting a quest shared from (not accepting, but sharing alone)

    - A shared quest is accept by such a player

     

    Therefore, two players with the same issue can't be in a group together.

     

    Detailed steps to reproduce the bug:

     

    1) In multiplayer, find a player with a '{}' in their name, or likely any non-ASCII character.

    2) In the players tab, send a party invitation to this player.

     

    Actual result: The invitation isn't sent. Additionally, the ingame console pops open, hindering all input, like movement, until closed. In the console the following exception message is printed: FormatException: Input string was not in a correct format

     

    Expected result: No error occurs and the invitation is sent.


    User Feedback

    Recommended Comments



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...