Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Game crash under Proton #2

@EkiciLP

Description

@EkiciLP

Hey,
I encountered the following error running this plugin under proton on linux:

2024-11-23 01:18:24.644 - Thread:   1 ->  [PluginLoader] [Error] Failed to initialize Math0424/SERichPresence|Discord Rich Presence because of an error: System.IO.IOException: Request not supported : '\\.\pipe\'
  at System.IO.Enumeration.FileSystemEnumerator`1[TResult].FindNextEntry () [0x0001c] in <94942505ad4c4982af4db0763017d52e>:0 
  at System.IO.Enumeration.FileSystemEnumerator`1[TResult].MoveNext () [0x00032] in <94942505ad4c4982af4db0763017d52e>:0 
  at System.Collections.Generic.LargeArrayBuilder`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] items) [0x0003d] in <94942505ad4c4982af4db0763017d52e>:0 
  at System.Collections.Generic.EnumerableHelpers.ToArray[T] (System.Collections.Generic.IEnumerable`1[T] source) [0x00033] in <94942505ad4c4982af4db0763017d52e>:0 
  at System.IO.MonoLinqHelper.ToArray[T] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <94942505ad4c4982af4db0763017d52e>:0 
  at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00009] in <94942505ad4c4982af4db0763017d52e>:0 
  at System.IO.Directory.GetFiles (System.String path) [0x0000b] in <94942505ad4c4982af4db0763017d52e>:0 
  at Math0424.Discord.DiscordIPC.EstablishPipe () [0x00002] in <215a3eaa7a7542dbb13233153099c4a0>:0 
  at Math0424.Discord.DiscordIPC..ctor (System.Int64 ClientID) [0x0000d] in <215a3eaa7a7542dbb13233153099c4a0>:0 
  at Math0424.Discord.Discord.ReConnect () [0x00011] in <215a3eaa7a7542dbb13233153099c4a0>:0 
  at Math0424.Discord.Discord..ctor () [0x00006] in <215a3eaa7a7542dbb13233153099c4a0>:0 
  at SERichPresence.RichPresence.Init (System.Object gameInstance) [0x00000] in <215a3eaa7a7542dbb13233153099c4a0>:0 
  at avaness.PluginLoader.PluginInstance.Init (System.Object gameInstance) [0x0000b] in <168cca10a0b7494287bc48e990230177>:0

Apparently this is caused by proton not supporting this statement.
Can we maybe have some sort of config parameter or toggle to specify the pipe name or just toggle to use a hardcoded default one discord-ipc-0?
I would do it myself but I would need to set up a windows machine to compile and use the project.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions