Skip to content

[BUG] HttpClient.GetAsync breaks on computers with non-latin characters in name #57

@michael-r-elp

Description

@michael-r-elp

MultiplayerCore Version and Download Source
1.6.1

Your Platform
Steam

Describe the bug
When someone attempts to join Multiplayer but their computer name has a non-latin character in it's name, the HttpClient.GetAsync call breaks with the Partial byte sequence encountered in the input. exception.

To Reproduce

  1. Rename Computer to "Lil-Ström" and restart
  2. Open Beat Saber
  3. Attempt to join/create a lobby
  4. See error and exception in the log

Expected behavior
The HttpClient should successfully send the request.

Additional context
See BeatTogether/BeatTogether#50

Workaround implemented in https://github.com/user-attachments/files/20616163/MultiplayerCore-1.6.2-bs1.40.0-0f029ed.zip

TODO: Publish workaround as update, report to game devs

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions