Livery Manager crashes with a livery file without liveries.
Closed this issue · 0 comments
nic547 commented
When trying to run the software, it crashed before displaying the main window.
No errors appear in the logfile.
Using PS, I was able to get the attached stacktrace.
crash.zip
My livery file was empty (and is also attached). Adding a new livery in TSW2 fixes the crash. Removing it leads to the crash reappearing.
Seems like the in "LoadGameLiveries"-Method, the Start of Livery doesn't get found (i.e. LocateByteInArray returns -1) and then the creating an array of length -1 crashes the whole thing.