JetBrains / JetBrains/resharper-unity
StartUnityAction from OpenUnityProjectAsFolderNotification wouldn't fully work in Unity 2019.2+
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
com.jetbrains.rider.plugins.unity.actions.StartUnityAction.Companion#startUnityAndRider
would result
```
executeMethod class 'RiderMenu' could not be found.
Argument was -executeMethod JetBrains.Rider.Unity.Editor.RiderMenu.MenuOpenProject
```
in Unity.
because EditorPlugin is not loaded at the moment, when this code tries to execute.
to reproduce:
1. Remove sln from Unity project
2. Open as folder in Rider
Notification is shown.
3. Click link in the notification.
Get error in Unity.
Contributor guide
Research direction
Start at com.jetbrains.rider.plugins.unity.actions.StartUnityAction.Companion#startUnityAndRider and reproduce by removing the solution, opening the project as a folder in Rider, and clicking the notification link in Unity 2019.2+. Check when the Unity EditorPlugin is loaded; done means the action opens the project without the RiderMenu class-not-found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- game-dev, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100