Post by ellyz on Mar 13, 2022 13:18:39 GMT -5
Hi
I think my question is probably for S4S insiders/authors. S4S crashes systematically when I try to open one of my packages, here is the call stack:
I am working on MacOS 12.2.1, using S4S 1.3.3.6 Apple Blossom (I think it's beta, did not find the community one), and this one is the only package I have trouble with.
I had been working on the package for almost a day (and night, lol), leaving the mac in sleep mode. As long as I had not reopened it, the package kept working (including when I test it in game)
I can only guess by the exception name, but this could actually be my fault - I think that at some point I changed the version of a tuning file, from 2 to 3. Don't ask why I did that, lol, it was stupid from my part.
I do not hope/expect that there could be a fix, but maybe you have some alternative debug tools that would allow to catch the error and open the package anyway (even with a missing tuning), or "unzip" it somehow and correct the version thing?
I am grasping at straws, but I really would love to avoid going through all my tunings again... Here is my package file.io/428y0M9RLqCy
Thank you in advance!
Btw, found an unanswered message in an unrelated thread, that has the same error sims4studio.com/post/126552/thread
I think my question is probably for S4S insiders/authors. S4S crashes systematically when I try to open one of my packages, here is the call stack:
[05:19:45] [v1.3.3.6] Error [MainClass.Main:0]
S4Studio.Data.IO.Core.UnsupportedResourceVersionException: Exception of type 'S4Studio.Data.IO.Core.UnsupportedResourceVersionException' was thrown.
at S4Studio.Data.IO.Core.VersionResourceExtensions.CheckVersion (S4Studio.Data.IO.Core.IVersionResource v, System.UInt32 max_version, System.UInt32 min_version) [0x00018] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.BuyBuild.ObjectDefinitionResource.Read (System.IO.Stream stream, S4Studio.Data.IO.Core.IReferenceList resources) [0x00013] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource (System.Type t, S4Studio.Data.IO.Package.IDBPFResourcePointer index, System.Boolean nocache) [0x00271] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T] (S4Studio.Data.IO.Package.IDBPFResourcePointer index, System.Boolean nocache) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.IO.Package.DBPFPackage.FetchResource[T] (S4Studio.Data.IO.Package.IDBPFResourcePointer index) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.PackageResourceProviderBase.FetchResourceData[TResource] (S4Studio.Data.IResourceHandle resourceHandle, System.Boolean useDefault) [0x00013] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.ResourceProvider.GetResourceData[TResource] (S4Studio.Data.IResourceHandle resourceHandle, System.Boolean useDefault) [0x00016] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Data.ResourceHandle.Data[TResource] () [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.ObjectCustomContentViewModel+<>c.<InitSwatches>b__13_0 (S4Studio.Data.IResourceHandle x) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].ToArray () [0x0001d] in <1039c00e91794ad5847e9b9b0ddf074b>:0
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <1039c00e91794ad5847e9b9b0ddf074b>:0
at S4Studio.ViewModels.ObjectCustomContentViewModel+<InitSwatches>d__13.MoveNext () [0x00060] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) [0x00059] in <5df0b75e06fb4375b2b4bf06d85ee114>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00062] in <5df0b75e06fb4375b2b4bf06d85ee114>:0
at System.Collections.ObjectModel.ObservableCollection`1[T].CreateCopy (System.Collections.Generic.IEnumerable`1[T] collection, System.String paramName) [0x0000a] in <dd56755200a54d14b4a0fc9fb1e494e1>:0
at System.Collections.ObjectModel.ObservableCollection`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <dd56755200a54d14b4a0fc9fb1e494e1>:0
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent.get_Swatches () [0x0000f] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.Generic.BatchEditingViewModel..ctor (S4Studio.ViewModels.Generic.CatalogSims4CustomContent obj) [0x0005d] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.Generic.CatalogSims4CustomContent..ctor (S4Studio.IWindow window, S4Studio.Data.IResourceProvider remoteSource, S4Studio.Data.IO.Package.IDBPFPackage localPackage, System.UInt64 prototype_id, System.Type type) [0x00060] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.Generic.BuyBuildSims4CustomContent..ctor (S4Studio.IWindow window, S4Studio.Data.IResourceProvider remoteSource, S4Studio.Data.IO.Package.IDBPFPackage localPackage, System.UInt64 prototype_id, System.Type type) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.Generic.BuyBuildSims4CustomContent`1[T]..ctor (S4Studio.IWindow window, S4Studio.Data.IResourceProvider remoteSource, S4Studio.Data.IO.Package.IDBPFPackage localPackage, System.UInt64 prototype_id) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.ViewModels.ObjectCustomContentViewModel..ctor (S4Studio.IWindow window, S4Studio.Data.IResourceProvider globalFiles, S4Studio.Data.IO.Package.IDBPFPackage localPackage, System.UInt64 prototype_id) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Shared.StudioDocumentModel.LoadViewModel () [0x000fe] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4Studio.Shared.StudioDocumentModel.set_Package (S4Studio.Data.IO.Package.IDBPFPackage value) [0x00065] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at S4S.Document.MakeWindowControllers () [0x0004b] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string[])
at AppKit.NSApplication.Main (System.String[] args) [0x00040] in <ac855891a4164508bb4311a40226d17a>:0
at S4S.MainClass.Main (System.String[] args) [0x00005] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
I am working on MacOS 12.2.1, using S4S 1.3.3.6 Apple Blossom (I think it's beta, did not find the community one), and this one is the only package I have trouble with.
I had been working on the package for almost a day (and night, lol), leaving the mac in sleep mode. As long as I had not reopened it, the package kept working (including when I test it in game)
I can only guess by the exception name, but this could actually be my fault - I think that at some point I changed the version of a tuning file, from 2 to 3. Don't ask why I did that, lol, it was stupid from my part.
I do not hope/expect that there could be a fix, but maybe you have some alternative debug tools that would allow to catch the error and open the package anyway (even with a missing tuning), or "unzip" it somehow and correct the version thing?
I am grasping at straws, but I really would love to avoid going through all my tunings again... Here is my package file.io/428y0M9RLqCy
Thank you in advance!
Btw, found an unanswered message in an unrelated thread, that has the same error sims4studio.com/post/126552/thread