Skip to content

Unable to debug Rimworld through the run config on 2025.2 EAP4 #69

@keyz182

Description

@keyz182

From the Rider logs:

2025-06-10 13:06:47,219 [ 574580]   INFO - #c.i.e.r.ExecutionUtil - Error running 'RimWorld':<br>Process creation exception
java.lang.RuntimeException: Process creation exception
at com.jetbrains.rider.shared.run.WindowsProcess.<init>(WindowsProcess.kt:140)
at com.jetbrains.rider.shared.run.SuspendableFormatPreservingCommandLine.createProcess(FormatPreservingCommandLine.kt:31)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:596)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:418)
at com.intellij.execution.process.OSProcessHandler.startProcess(OSProcessHandler.java:85)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:45)
at com.intellij.execution.process.KillableProcessHandler.<init>(KillableProcessHandler.java:40)
at com.jetbrains.rider.run.IDotNetDebugProfileState.startDebuggerWorker$suspendImpl(IDotNetDebugProfileState.kt:32)
at com.jetbrains.rider.run.IDotNetDebugProfileState.startDebuggerWorker(IDotNetDebugProfileState.kt)
at com.jetbrains.rider.run.IDotNetDebugProfileState.createDebuggerWorker$suspendImpl(IDotNetDebugProfileState.kt:43)
at com.jetbrains.rider.run.IDotNetDebugProfileState.createDebuggerWorker(IDotNetDebugProfileState.kt)
at com.jetbrains.rider.plugins.unity.run.configurations.UnityAttachProfileState.createDebuggerWorker(UnityAttachProfileState.kt:55)
at com.jetbrains.rider.debugger.RiderDebugRunner.getModelAndHandler(RiderDebugRunner.kt:183)
at com.jetbrains.rider.debugger.DotNetDebugRunner.initDebuggerSession$suspendImpl(DotNetDebugRunner.kt:44)
at com.jetbrains.rider.debugger.DotNetDebugRunner.initDebuggerSession(DotNetDebugRunner.kt)
at com.jetbrains.rider.debugger.RiderDebugRunner$executeAsync$2$1.invokeSuspend(RiderDebugRunner.kt:105)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at com.intellij.openapi.application.impl.EdtCoroutineDispatcher.wrapWithLocking$lambda$3$lambda$2(EdtCoroutineDispatcher.kt:71)
at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
at com.intellij.openapi.application.impl.AppImplKt$rethrowCheckedExceptions$2.invoke(appImpl.kt:139)
at com.intellij.openapi.application.impl.NestedLocksThreadingSupport.doRunWriteIntentReadAction(NestedLocksThreadingSupport.kt:631)
at com.intellij.openapi.application.impl.NestedLocksThreadingSupport.runPreventiveWriteIntentReadAction(NestedLocksThreadingSupport.kt:605)
at com.intellij.openapi.application.impl.NestedLocksThreadingSupport.runWriteIntentReadAction(NestedLocksThreadingSupport.kt:598)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:1102)
at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
at com.intellij.openapi.application.impl.EdtCoroutineDispatcher.wrapWithLocking$lambda$3(EdtCoroutineDispatcher.kt:70)
at com.intellij.openapi.application.impl.DispatchedRunnable.run(DispatchedRunnable.kt:42)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:240)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:26)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:222)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:117)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:750)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:595)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:488)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10$lambda$9(IdeEventQueue.kt:313)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:865)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10(IdeEventQueue.kt:312)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:974)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:110)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:974)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12(IdeEventQueue.kt:307)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:347)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.RuntimeException: CreateProcessW failed with error code: 193. Error message: %1 is not a valid Win32 application.
at com.jetbrains.rider.shared.run.WindowsProcess.<init>(WindowsProcess.kt:112)
... 56 more

Tried deleting and recreating the config, but it still no luck.

Example run config: https://github.com/MrSamuelStreamer/MrSamuelStreamerFlavourPack/blob/main/1.5/Source/.run/RimWorld.run.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions