Search Unity

Rider Plugin path for snap installs

Discussion in 'Linux' started by b1oki, Jun 2, 2019.

  1. b1oki

    b1oki

    Joined:
    Dec 21, 2018
    Posts:
    7
    I have JetBrains Rider installed from snap https://snapcraft.io/rider
    I have Unity 2019.3.0a4 installed from Unity Hub 2.0 with Rider plugin 1.0.8

    Real path to plugin:
    /snap/rider/current/plugins/rider-unity


    But Unity trying find plugin at
    /snap/plugins/

    Code (csharp):
    1. Unable to find Rider EditorPlugin /snap/plugins/rider-unity/EditorPlugin/JetBrains.Rider.Unity.Editor.Plugin.Full.Repacked.dll for Unity
    2. UnityEngine.Debug:Log(Object)
    3. Packages.Rider.Editor.RiderInitializer:Initialize(String) (at Library/PackageCache/com.unity.ide.rider@1.0.8/Rider/Editor/RiderInitializer.cs:43)
    4. Packages.Rider.Editor.RiderScriptEditor:.cctor() (at Library/PackageCache/com.unity.ide.rider@1.0.8/Rider/Editor/RiderScriptEditor.cs:26)
    5. UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[])
     
  2. van800

    van800

    JetBrains Employee

    Joined:
    May 19, 2016
    Posts:
    73
    What path have you set in Unity preferences-External tools?
    I think if you put full path to rider.sh instead of link/symlink, it will start working as intended.
    Let me know and I will fix it.
     
  3. van800

    van800

    JetBrains Employee

    Joined:
    May 19, 2016
    Posts:
    73
    Do you have "/snap/rider/current/bin/rider.sh" path on your system?
     
  4. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    244
  5. van800

    van800

    JetBrains Employee

    Joined:
    May 19, 2016
    Posts:
    73
    SeeMoreSarl and Brogan89 like this.