Unable To Build/Complete Uninstallation

Hello everyone I’ve recently encountered an issue that I’m not able to get past. When opening Xenko, be it a new project or a current one, I get the below error. I see that the error states something about referencing a different version of Xenko but I get this same error message with multiple versions. I’ve tried to fully uninstall as a troubleshooting step but it seem that Xenko ‘remembers’ some things (namely the project I’m working on after reinstall) leading me ot believe there are things to clear out still. If anyone could tell me how to fully remove everything related to Xenko or provided me a resolution to the below probelm that would be most helpful.

[Router]: Info: Start to listen on port 31254
[Router]: Info: Client :0 connected, with message ClientRequestServer
[Router]: Info: Client :0 sent message ClientRequestServer with URL /service/1.10.2-beta/SiliconStudio.Xenko.EffectCompilerServer.exe?mode=gamestudio&packageid=16892cf9-50c5-49df-b58d-5ccfdaca0da0
[Router]: Error: ClientRequestServer action URL [/service/1.10.2-beta/SiliconStudio.Xenko.EffectCompilerServer.exe?mode=gamestudio&packageid=16892cf9-50c5-49df-b58d-5ccfdaca0da0] references a Xenko version which is not installed
[Router]: Info: Client :0 disconnected with exception… System.InvalidOperationException: Operation is not valid due to the current state of the object.
at SiliconStudio.Xenko.ConnectionRouter.Router.d__7.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 236
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SiliconStudio.Xenko.ConnectionRouter.Router.d__6.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 130
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SiliconStudio.Xenko.ConnectionRouter.Router.d__6.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 175
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SiliconStudio.Xenko.ConnectionRouter.Router.<>c__DisplayClass5_0.<b__1>d.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 79
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at SiliconStudio.Xenko.ConnectionRouter.Router.d__7.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 236
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SiliconStudio.Xenko.ConnectionRouter.Router.d__6.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 130
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SiliconStudio.Xenko.ConnectionRouter.Router.d__6.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 175
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SiliconStudio.Xenko.ConnectionRouter.Router.<>c__DisplayClass5_0.<b__1>d.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 79

  • Try deleting the Cache folder in your existing projects.
  • Cleanup GameStudio preferences and config files:
    • C:\Users%USERNAME%\AppData\Roaming\Xenko
    • (forgot other locations, will update once I get them)

Maybe @xen2 can also help :wink:

1 Like

I did a search for anything named Xenko and tried clearing that out but if there is other folders/files please let me know.

I’m pretty sure the cache is cleared out in the project but what cache directory are you talking about just so I can make sure I got everything.

Could also be an antivirus issue. We have had trouble with some in the past. If you have, try to add some exceptions. Alternatively try to disable it temporarily (disconnect from Internet during that time for safety) and see if it fixes your issue.

As an update since I really hate when people bail on forums posts after they find a solution.

I ended up trying to uninstall everything vaguely related to Xenko with no change (Visual Studio, .Net etc etc) I ended up reformatting which. I am able to build new bundles but I’m still getting a very slightly different error now.

[Router]: Info: Start to listen on port 31254
[Router]: Info: Client :0 connected, with message ClientRequestServer
[Router]: Info: Client :0 sent message ClientRequestServer with URL /service/1.10.2-beta/SiliconStudio.Xenko.EffectCompilerServer.exe?mode=gamestudio&packageid=16892cf9-50c5-49df-b58d-5ccfdaca0da0
[Router]: Error: ClientRequestServer action URL [/service/1.10.2-beta/SiliconStudio.Xenko.EffectCompilerServer.exe?mode=gamestudio&packageid=16892cf9-50c5-49df-b58d-5ccfdaca0da0] references a Xenko version which is not installed
[Router]: Info: Client :0 disconnected with exception… System.InvalidOperationException: Operation is not valid due to the current state of the object.
at SiliconStudio.Xenko.ConnectionRouter.Router.d__7.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 236
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SiliconStudio.Xenko.ConnectionRouter.Router.d__6.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 130
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SiliconStudio.Xenko.ConnectionRouter.Router.d__6.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 175
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SiliconStudio.Xenko.ConnectionRouter.Router.<>c__DisplayClass5_0.<b__1>d.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 79
System.InvalidOperationException: Operation is not valid due to the current state of the object.
at SiliconStudio.Xenko.ConnectionRouter.Router.d__7.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 236
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SiliconStudio.Xenko.ConnectionRouter.Router.d__6.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 130
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SiliconStudio.Xenko.ConnectionRouter.Router.d__6.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 175
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SiliconStudio.Xenko.ConnectionRouter.Router.<>c__DisplayClass5_0.<b__1>d.MoveNext() in C:\TeamCity\work\80a49494ba341a6a\sources\tools\SiliconStudio.Xenko.ConnectionRouter\Router.cs:line 79

1 Like