Crash while importing from savegame
See original GitHub issueSystem.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, Func
2 map)
at ARKBreedingStats.ImportSavegame.ConvertGameObject(GameObject creatureObject, Nullable1 levelStep) at ARKBreedingStats.Form1.<>c__DisplayClass93_0.<importCollectionFromSavegame>b__1(GameObject o) at System.Linq.Enumerable.WhereSelectListIterator
2.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable
1 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:
- Created 5 years ago
- Comments:9
Top GitHub Comments
Fixed in 3f33cae. Großer Hai, René and others are now properly imported.
Fixed, old library version was accidentally released