question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash while importing from savegame

See original GitHub issue

System.InvalidCastException: Unable to cast object of type 'SavegameToolkit.Arrays.ArkArrayUnknown' to type 'SavegameToolkit.Arrays.ArkArrayStruct'. at SavegameToolkit.PropertyContainerExtensions.GetPropertyValue[T,U](IPropertyContainer propertyContainer, String name, Int32 index, U defaultValue, Func2 map) at ARKBreedingStats.ImportSavegame.ConvertGameObject(GameObject creatureObject, Nullable1 levelStep) at ARKBreedingStats.Form1.<>c__DisplayClass93_0.<importCollectionFromSavegame>b__1(GameObject o) at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at ARKBreedingStats.Form1.<importCollectionFromSavegame>d__93.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

Version 0.28.7 (with external jar extractor) works fine, latest 0.29.1 (with internal dll-extractor) shows this error, when importing.

It seems to work fine on old savegames from august (and the corresponding server version), not with newer ones from november (paused playing in between so I unfortunately cannot say, when the problems startet exactly).

Ragnarok without any traveling, an newer savegame with imports from Abberation does work too. Both work with 0.28.7.

Do the different versions (both installed from zip and saved on OneDrive for tribe-sync) interfere with each other? It does not seem so, since the user.config from AppData have different folders, the extraction-directories for savegames have so, too.

Thanks for this great tool and any help with this bug (or failure from me 😉

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
Flachdachscommented, Nov 12, 2018

Fixed in 3f33cae. Großer Hai, René and others are now properly imported.

0reactions
Flachdachscommented, Dec 22, 2018

Fixed, old library version was accidentally released

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixing Crashing Savegame : r/Kenshi
Like importing game, validating game files, unsubscribing from the last mods I subscribed, restarting PC etc. But nothing helped. It crashed ...
Read more >
Save crash Imported save file :: Kenshi General Discussions
Yes! The game always crash when saving. DEVELOPERS. WE NEED YOUR HELP! #9. Velrosan · View Profile ...
Read more >
Imported save crashes game - Fallen Order
When I load my imported 100% save from my PS4 files, it continues to crash. Last save was somewhere on Ilum. Haven't picked...
Read more >
The Walking Dead - Import save crashing
I just found way to work. Just disconnect from internet and when it ask to import save. Press ok and it will say...
Read more >
Loading savegame causes a crash. · Issue #5965
I have a savegame from about a year before this save that does not crash, let me know if it is needed. All...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found