TcNo-Acc-Switcher
TcNo-Acc-Switcher copied to clipboard
An error has occurred. This application may no longer respond until reloaded.
-09-09T10:26:38.233Z] Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Generic.List`1.Enumerator.MoveNextRare() at TcNo_Acc_Switcher_Server.Shared.ContextMenu.ContextMenu.BuildRenderTree(RenderTreeBuilder __builder) in C:\projects\tcno-acc-switcher-qih5m\TcNo-Acc-Switcher-Server\Shared\ContextMenu\ContextMenu.razor:line 33 at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
And then it fully stops working
Not working on Steam at all. No changes in settings whatsoever.
I have this problem too, I installed it today and it is happening from the time i installed it
I also have this problem with Epic Games
Looking at the Event Viewer I think this is exception in the Csharp code because you are attempting to modify a IEnumerable collection while its being used. Below is the exception I see when this error pops up
Unhandled exception in circuit ''.
Exception:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at TcNo_Acc_Switcher_Server.Shared.ContextMenu.ContextMenu.BuildRenderTree(RenderTreeBuilder __builder) in C:\projects\tcno-acc-switcher-qih5m\TcNo-Acc-Switcher-Server\Shared\ContextMenu\ContextMenu.razor:line 33
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
Same problem on freshly installed account switcher
blazor.server.js?1746385700:1 [2025-05-04T19:08:20.961Z] Information: Normalizing '_blazor' to 'http://localhost:36352/_blazor'.
blazor.server.js?1746385700:1 [2025-05-04T19:08:20.997Z] Information: WebSocket connected to ws://localhost:36352/_blazor?id=v5woABEjYdN-nTny6PS9FA.
blazor.server.js?1746385700:1 [2025-05-04T19:08:21.781Z] Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at TcNo_Acc_Switcher_Server.Shared.ContextMenu.ContextMenu.BuildRenderTree(RenderTreeBuilder __builder) in C:\projects\tcno-acc-switcher-qih5m\TcNo-Acc-Switcher-Server\Shared\ContextMenu\ContextMenu.razor:line 33
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
log @ blazor.server.js?1746385700:1
unhandledError @ blazor.server.js?1746385700:1
(anonymous) @ blazor.server.js?1746385700:1
_invokeClientMethod @ blazor.server.js?1746385700:1
_processIncomingData @ blazor.server.js?1746385700:1
Xt.connection.onreceive @ blazor.server.js?1746385700:1
s.onmessage @ blazor.server.js?1746385700:1
blazor.server.js?1746385700:1 [2025-05-04T19:08:21.782Z] Information: Connection disconnected.