Can't attach Rider debugger to Unity
My setup:
Rider 2025.2.2, installed through Jetbrains Toolbox, itself installed through
Unity 6000.0.30f1, installed through the Unity Hub flatpak
Both Rider's and Unity's plugins are up to date in my project.
The problem:
Whenever I try to attach to Unity from Rider, the debugger agent fails to connect. I get a popup saying
which doesn't help.
The
What I tried:
My guess is that Unity Hub needs additional permissions in flatpak, but I've tried some stuff and it didn't fix it. I tried allowing
Did someone figure this out?
bazzite:stable, up to date (i also tried bazzite-dx:stable)Rider 2025.2.2, installed through Jetbrains Toolbox, itself installed through
ujust install-jetbrains-toolboxUnity 6000.0.30f1, installed through the Unity Hub flatpak
Both Rider's and Unity's plugins are up to date in my project.
The problem:
Whenever I try to attach to Unity from Rider, the debugger agent fails to connect. I get a popup saying
which doesn't help.
The
idea.log shows:What I tried:
My guess is that Unity Hub needs additional permissions in flatpak, but I've tried some stuff and it didn't fix it. I tried allowing
socket-session-bus, socket-system-bus, device-dri && device-input (which I figure I'd need anyway), device-shm, allow-devel, and access to /dev. No dice.Did someone figure this out?