Closed Daniel458 closed 8 years ago
I've identified where the program is crashing. The selected profile index isn't correct. Can you tell me how to reproduce this issue ?
Thanks, and sorry for any inconvenience caused.
So I have the mods already installed and I want to play with vanilla but it crashes On 20 Jul 2016 01:41, "fr-Pursuit" notifications@github.com wrote:
I've identified where the program is crashing. The selected profile index isn't correct. Can you tell me how to reproduce this issue ?
Thanks, and sorry for any inconvenience caused.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fr-Pursuit/GTAVModdingLauncher/issues/1#issuecomment-233788581, or mute the thread https://github.com/notifications/unsubscribe-auth/ATkbMSuz4SF0yWxF5qqmgfnQcHwACNPOks5qXVKzgaJpZM4JOzkz .
Seems like I can't reproduce the crash. I used it in an already modded environment and made it vanilla without running into any issues. Can you send me your profiles.dat and / or your latest.log ? (both are in Documents\Pursuit\GTA V Modding Launcher) Thanks :D
2016-07-20 14:15 GMT+03:00 fr-Pursuit notifications@github.com:
Seems like I can't reproduce the crash. I used it in an already modded environment and made it vanilla without running into any issues. Can you send me your profiles.dat and / or your latest.log ? (both are in Documents\Pursuit\GTA V Modding Launcher) Thanks :D
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fr-Pursuit/GTAVModdingLauncher/issues/1#issuecomment-233921115, or mute the thread https://github.com/notifications/unsubscribe-auth/ATkbMduYDDJYhSoGDFv7sev9J6Fb9lF5ks5qXgM9gaJpZM4JOzkz .
---- GTA V Modding Launcher 0.5.2 crash report ---- Generated on 20/07/2016 19:51:18
-- Thrown exception -- System.NotSupportedException: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread. at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args) at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at GTAVModdingLauncher.Launcher.UpdateUI() at GTAVModdingLauncher.Launcher.InitLauncher() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
-- Launcher state -- Is initialized: True Is window initialized: True Current profile index: 2 Current profile: ~Unexpected error~
-- UI state -- Selected profile index: 0 Selected profile: Vanilla Is working: False Are buttons enabled: False
Ok, this explains the first crash. Your current profile is the third created (it has the ID 2), but only two or less are available. You can try to delete your Documents\Pursuit\GTA V ModdingLauncher\profiles.dat.
The second crash is more interesting. I read about it on google and it should happen everytime you launch the launcher. Though, I never experienced it. It'll be fixed in the next update.
You can try this pre-release: https://github.com/fr-Pursuit/GTAVModdingLauncher/releases/tag/0.5.3
It should fix the second crash.
Will be fixed in 0.5.4 BETA
GTA V Modding Launcher 0.5.1 crash report. Generated on 18/07/2016 17:59:54
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException() at GTAVModdingLauncher.Launcher.SwitchProfileAndPlay(Boolean online, Int32 selected) at GTAVModdingLauncher.Launcher.<>c__DisplayClass64_0.b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Did i do something wrong ?
How do i fix it ?