momentumdevelopment/cosmos

[BUG] Discord RPC crashes the client on arm64 cpus. (discord presence)

dudethis opened this issue · 2 comments

Issue:

  • What is the bug that you would like addressed?
    Cosmos crashes on pc's using arm cpus. (Like macs with the new M1 chips)
    Context: The client tries to find Discord rpc libraries but it can't find them for the correct architecture, so that causes it to crash.

  • When does this bug happen? Does it persist after restart/toggle?
    This bug happens every time, I've tried editing the config file that it generated from
    [DiscordPresence]
    Enabled = true
    Drawn = false
    Bind = 0

to
[DiscordPresence]
Enabled = false
Drawn = false
Bind = 0

and that still doesn't fix anything because it over writes what I changed the next time I try to run it after the crash so it re-enables discord presence.

Environment:

  • What other clients do you run, PC setup, relevant servers? How can this bug be replicated?
    Not using any other clients, my cpu is using the architecture arm64.
    Config: Tried changing discord presence to false but it gets overwritten on relaunch.

Ares changed this by turning it off on start, not sure if that would work here.
Also heres my crash log in case that helps in any way: [https://paste.ee/p/L7n7s]

Actually I'm pretty sure the config file doesn't matter since I just tried making the config file non editable and it still crashes and still has discord presence as disabled in the file.

WIll look into this in the near future