X2CommunityCore / xcom2-launcher

The Alternative Mod Launcher (AML) is a replacement for the default game launchers from XCOM 2 and XCOM Chimera Squad.
GNU General Public License v3.0
354 stars 52 forks source link

Crash when not subscribed to any mod (ArgumentNullException) #190

Closed sentry-io[bot] closed 4 years ago

sentry-io[bot] commented 4 years ago

If you haven't been subscribed to any mods (more likely to happen for Chimera Squad than X2), AML may crash with an unhandled ArgumentNullException.

This happens, because AML is unable to find any valid mod folder because the Steam Workshop mod folder hasn't been created yet.

Workaround: Subscribe to a mod. You can even unsubscribe afterwards, because the mod folder will stay.

Sentry Issue: XCOM2-LAUNCHER-YK