File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/actions Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class AttachUnityEditorAction: DumbAwareAction() {
22
22
23
23
if (settings != null ) {
24
24
ExecutionUtil .runConfiguration(settings,
25
- Executor .EXECUTOR_EXTENSION_NAME .extensionList.single { it is DefaultDebugExecutor })
25
+ Executor .EXECUTOR_EXTENSION_NAME .extensionList.single { it is DefaultDebugExecutor && it.id == DefaultDebugExecutor . EXECUTOR_ID })
26
26
} else {
27
27
logger.warn(" Have not found run-configuration ${DefaultRunConfigurationGenerator .ATTACH_CONFIGURATION_NAME } ." )
28
28
}
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ open class StartUnityAction : DumbAwareAction() {
47
47
runManager.findConfigurationByTypeAndName(UnityExeConfigurationType .id, DefaultRunConfigurationGenerator .RUN_DEBUG_START_UNITY_CONFIGURATION_NAME )
48
48
49
49
if (settings?.configuration != null && ExecutionTargetManager .getInstance(project).getTargetsFor(settings.configuration).isEmpty()){
50
- ExecutionUtil .runConfiguration(settings, Executor .EXECUTOR_EXTENSION_NAME .extensionList.single {it is DefaultRunExecutor })
50
+ ExecutionUtil .runConfiguration(settings, Executor .EXECUTOR_EXTENSION_NAME .extensionList.single {it is DefaultRunExecutor && it.id == DefaultRunExecutor . EXECUTOR_ID })
51
51
}
52
52
else {
53
53
logger.warn(" UnityExeConfiguration ${DefaultRunConfigurationGenerator .RUN_DEBUG_START_UNITY_CONFIGURATION_NAME } was not found." )
You can’t perform that action at this time.
0 commit comments