WinPct Crash

WinPct Crash

Postby Brink » Fri Aug 16, 2024 9:36 pm

I just downloaded, loaded up the real life mod, and started my first season in 2023. After I sim through the first game, I go to check the Media tab and I get a "The given key 'WinPct' was not present in the dictionary.

************* Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key 'WinPct' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at DDSCF.Team.get_PowerRanking() in C:\Users\brook\Documents\Projects\DDSCF25\DDSCF-Library\Libraries\Team.cs:line 2742
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.ComputeMap(TElement[] elements, Int32 count)
at System.Linq.OrderedEnumerable`1.ToList()
at DDSCF_Library.Views.MediaPowerRank.OnInitializedAsync() in C:\Users\brook\Documents\Projects\DDSCF25\DDSCF-Library\Views\MediaPowerRank.razor:line 71
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
at Microsoft.AspNetCore.Components.WebView.WindowsForms.WindowsFormsDispatcher.InvokeAsync(Action workItem)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

I can send my game file too if need be!
Brink
Junior Member
 
Posts: 2
Joined: Sat Jun 15, 2024 10:11 pm

Re: WinPct Crash

Postby slybelle1 » Sat Aug 17, 2024 5:41 am

Although I don't know the issue, the same error in the same situation happens without the realworld mod loaded so the issue isn't related, which makes sense since nothing in the realworld mod would have an impact on winning percent. The good news for the developer, easy to recreate as this happens all the time if you sim a week/game then go to media.
User avatar
slybelle1
Elite Member
 
Posts: 2217
Joined: Wed Jan 31, 2007 8:23 pm

Re: WinPct Crash

Postby brooks_piggott » Sat Aug 17, 2024 8:39 am

Thanks, fixed this for the next build.
User avatar
brooks_piggott
Moderator
 
Posts: 3889
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX


Return to DDS: College Football 2025 FirstAccess

Who is online

Users browsing this forum: No registered users and 1 guest