Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

[2019.2] External tool setting crashes preferences (Rider)

Discussion in 'Editor & General Support' started by jusw85, Jul 31, 2019.

  1. jusw85

    jusw85

    Joined:
    Apr 21, 2016
    Posts:
    21
    Platform: Arch Linux, UnityHub installation

    After updating to 2019.2, new IDE integration package asks me to delete JetBrains.Rider.Unity.Editor.Plugin.Full.Repacked.dll from my existing project since it'll find it automatically from my filesystem.

    After deleting the .dll file, the IDE integration package complains about not finding .dll file cause it's not looking in the right path. After digging around in RiderInitializer.cs, it's looking in the path "../../plugins/rider-unity/EditorPlugin". In order to find the .dll file properly, external tool setting should point directly to bin/rider.sh.

    So I open up preferences and point external tool setting from rider.desktop to browse --> "/usr/share/rider/bin/rider.sh". Next thing I know preferences crashes with multiple errors. The preferences screens are empty. Even if I start a new project, errors are thrown immediately, and more errors are thrown when I open the preferences screen. I can't find the offending preference setting in .config/unity3d/ to rollback.

    Any idea how I can reset the setting so I can at least continue working for now?

    Some of the errors:

     

    Attached Files:

  2. jusw85

    jusw85

    Joined:
    Apr 21, 2016
    Posts:
    21
    I fixed it by removing the key
    <pref name="kScriptsDefaultApp" type="string"></pref>
    from ~/.local/share/unity3d/prefs