KSP-CKAN / CKAN

The Comprehensive Kerbal Archive Network
https://forum.kerbalspaceprogram.com/index.php?/topic/197082-*
Other
1.99k stars 348 forks source link

[Bug]:Windows - Crash on Startup - Unhandled Exception: System.NotSupportedException: SteamGame #4210

Closed Ethan753 closed 1 month ago

Ethan753 commented 1 month ago

Is there an existing issue for this?

Operating System

Windows

CKAN Version

v1.35.0

Games

KSP 1

Game Version

1.12.5 Latest, Just installed it before getting CKAN

Did you make any manual changes to your game folder (i.e., not via CKAN)?

KSP is installed on the D: drive (dont have space on C: so its in D:\SteamLibrary\steamapps\common\Kerbal Space Program) Also put CKAN on D:

Describe the bug

Crash on startup, error is displayed for a second before closing itself Unhandled Exception: System.NotSupportedException: SteamGame at ValveKeyValue.ObjectCopier.MakeObject[TObject])KVObject keyValueObject, IObjectReflector reflector) at CKAN.SteamLibrary.<>c__DisplayClass3_0.b0(String acfFile) at System.Linq.Enumerable.WhereSelectEnumberableIterator'2.MoveNext() at System.Linq.Enumerable.d17'2.MoveNext() at System.Linq.Enumerable.d__59'1.MoveNext() at System.Linq.Buffer'1..ctor(IEnumerable'1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable'1 source) at CKAN.SteamLibrary..ctor() at CKAN.GameInstanceManager..ctor(IUser user, IConfiguration configuration) at CKAN.CmdLine.MainClass.Execute(GameInstanceManager manager, CommonOptions opts, String[] args) at CKAN.CmdLine.MainCLass.Main(String[] args) Screenshot (800)

Steps to reproduce

attemp to open/start, either by double clicking icon or via command line

Relevant log output

as states above Thank you if you have any suggestions for me to look into! I am clueless on this, and I haven't found any other posts with a NotSupportedException issue

HebaruSan commented 1 month ago

Duplicate of #4197