|
Post by xhunnibunnix on Mar 18, 2022 23:31:27 GMT -5
Hello. It would not let me post in the bug/error threads. While trying to import a texture PNG from blender, I get this message:
Sims 4 Studio 1.3.3.6 (Apple Blossom) System.Exception: Could not initialize an instance of the type 'CoreGraphics.CGBitmapContext': handle is null. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false. at ObjCRuntime.DisposableObject.InitializeHandle (System.IntPtr handle, System.Boolean verify) [0x00038] in <ac855891a4164508bb4311a40226d17a>:0 at ObjCRuntime.DisposableObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00008] in <ac855891a4164508bb4311a40226d17a>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00000] in <ac855891a4164508bb4311a40226d17a>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <ac855891a4164508bb4311a40226d17a>:0 at CoreGraphics.CGContext..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <ac855891a4164508bb4311a40226d17a>:0 at CoreGraphics.CGBitmapContext..ctor (System.Byte[] data, System.nint width, System.nint height, System.nint bitsPerComponent, System.nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGImageAlphaInfo bitmapInfo) [0x00013] in <ac855891a4164508bb4311a40226d17a>:0 at S4Studio.MacBitmap.ResizeCoreGraphics (System.Int32 width, System.Int32 height) [0x0002b] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4Studio.MacBitmap.Resize (System.Int32 width, System.Int32 height) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4Studio.AMDCompress.CompressImage (S4Studio.IBitmap bmp, System.Boolean requiresAlpha, System.Boolean uncompressed) [0x00200] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4Studio.TC.ConvertData (System.String src_ext, System.String dest_ext, System.Byte[] convert_d, System.Boolean requiresAlpha) [0x000c2] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4Studio.TC.ConvertData (System.String filename, System.String dest_ext, System.Boolean requiresAlpha) [0x00026] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4Studio.ViewModels.Generic.Sims4SwatchContent+<>c__DisplayClass66_0.<ExecuteImportTexture>b__0 () [0x00026] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00014] in <fba6d96c2ad848fb92a7e7305f6c7598>:0
|
|
|
Post by mauvemorn on Mar 19, 2022 7:06:58 GMT -5
Hello. It would not let me post in the bug/error threads. While trying to import a texture PNG from blender, I get this message: Sims 4 Studio 1.3.3.6 (Apple Blossom) System.Exception: Could not initialize an instance of the type 'CoreGraphics.CGBitmapContext': handle is null. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false. at ObjCRuntime.DisposableObject.InitializeHandle (System.IntPtr handle, System.Boolean verify) [0x00038] in <ac855891a4164508bb4311a40226d17a>:0 at ObjCRuntime.DisposableObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00008] in <ac855891a4164508bb4311a40226d17a>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00000] in <ac855891a4164508bb4311a40226d17a>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <ac855891a4164508bb4311a40226d17a>:0 at CoreGraphics.CGContext..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <ac855891a4164508bb4311a40226d17a>:0 at CoreGraphics.CGBitmapContext..ctor (System.Byte[] data, System.nint width, System.nint height, System.nint bitsPerComponent, System.nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGImageAlphaInfo bitmapInfo) [0x00013] in <ac855891a4164508bb4311a40226d17a>:0 at S4Studio.MacBitmap.ResizeCoreGraphics (System.Int32 width, System.Int32 height) [0x0002b] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4Studio.MacBitmap.Resize (System.Int32 width, System.Int32 height) [0x00000] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4Studio.AMDCompress.CompressImage (S4Studio.IBitmap bmp, System.Boolean requiresAlpha, System.Boolean uncompressed) [0x00200] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4Studio.TC.ConvertData (System.String src_ext, System.String dest_ext, System.Byte[] convert_d, System.Boolean requiresAlpha) [0x000c2] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4Studio.TC.ConvertData (System.String filename, System.String dest_ext, System.Boolean requiresAlpha) [0x00026] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4Studio.ViewModels.Generic.Sims4SwatchContent+<>c__DisplayClass66_0.<ExecuteImportTexture>b__0 () [0x00026] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00014] in <fba6d96c2ad848fb92a7e7305f6c7598>:0 Hi. Could you please add the package and the image you’re trying to import into one folder, then archive it and share with us?
|
|
al277
New Member
Posts: 2
|
Post by al277 on Aug 2, 2022 19:11:51 GMT -5
Hi, it wouldn't let post in the bug thread either but I am getting a similar log message whenever I try to access a deformer map on a mod (happens with every mod I have): Version 1.3.4.1 (1)(Apple Blossom) System.ObjectDisposedException: Cannot access a disposed object. Object name: 'CoreGraphics.CGImage'. at ObjCRuntime.ThrowHelper.ThrowObjectDisposedException (System.Object o) [0x0000c] in <e4522fda950a42e1a61f97b36f071593>:0 at ObjCRuntime.NativeObjectExtensions.GetNonNullHandle (ObjCRuntime.INativeObject self, System.String argumentName) [0x00024] in <e4522fda950a42e1a61f97b36f071593>:0 at AppKit.NSImage..ctor (CoreGraphics.CGImage cgImage, CoreGraphics.CGSize size) [0x0000d] in <e4522fda950a42e1a61f97b36f071593>:0 at S4Studio.MacBitmapExtensions.ToNSImage (S4Studio.IBitmap image) [0x00038] in <6887ba6c40c64536ac32615cef728fc9>:0 at S4S.WarehouseResourceEditorViewController.OnImageChanged () [0x00043] in <6887ba6c40c64536ac32615cef728fc9>:0 at S4S.WarehouseResourceEditorViewController.OnResourceChanged () [0x00000] in <6887ba6c40c64536ac32615cef728fc9>:0 at S4S.WarehouseResourceEditorViewController.<set_SelectedResource>b__9_0 () [0x0000c] in <6887ba6c40c64536ac32615cef728fc9>:0 at Foundation.NSAsyncActionDispatcher.Apply () [0x00002] in <e4522fda950a42e1a61f97b36f071593>:0 at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string[]) at AppKit.NSApplication.Main (System.String[] args) [0x00040] in <e4522fda950a42e1a61f97b36f071593>:0 at S4S.MainClass.Main (System.String[] args) [0x00005] in <6887ba6c40c64536ac32615cef728fc9>:0
|
|
|
Post by mauvemorn on Aug 2, 2022 23:51:53 GMT -5
Hi, it wouldn't let post in the bug thread either but I am getting a similar log message whenever I try to access a deformer map on a mod (happens with every mod I have): Version 1.3.4.1 (1)(Apple Blossom) System.ObjectDisposedException: Cannot access a disposed object. Object name: 'CoreGraphics.CGImage'. at ObjCRuntime.ThrowHelper.ThrowObjectDisposedException (System.Object o) [0x0000c] in <e4522fda950a42e1a61f97b36f071593>:0 at ObjCRuntime.NativeObjectExtensions.GetNonNullHandle (ObjCRuntime.INativeObject self, System.String argumentName) [0x00024] in <e4522fda950a42e1a61f97b36f071593>:0 at AppKit.NSImage..ctor (CoreGraphics.CGImage cgImage, CoreGraphics.CGSize size) [0x0000d] in <e4522fda950a42e1a61f97b36f071593>:0 at S4Studio.MacBitmapExtensions.ToNSImage (S4Studio.IBitmap image) [0x00038] in <6887ba6c40c64536ac32615cef728fc9>:0 at S4S.WarehouseResourceEditorViewController.OnImageChanged () [0x00043] in <6887ba6c40c64536ac32615cef728fc9>:0 at S4S.WarehouseResourceEditorViewController.OnResourceChanged () [0x00000] in <6887ba6c40c64536ac32615cef728fc9>:0 at S4S.WarehouseResourceEditorViewController.<set_SelectedResource>b__9_0 () [0x0000c] in <6887ba6c40c64536ac32615cef728fc9>:0 at Foundation.NSAsyncActionDispatcher.Apply () [0x00002] in <e4522fda950a42e1a61f97b36f071593>:0 at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string[]) at AppKit.NSApplication.Main (System.String[] args) [0x00040] in <e4522fda950a42e1a61f97b36f071593>:0 at S4S.MainClass.Main (System.String[] args) [0x00005] in <6887ba6c40c64536ac32615cef728fc9>:0 Hi. S4S cannot work with these maps, s4 morph maker is used for making and editing these
|
|
al277
New Member
Posts: 2
|
Post by al277 on Aug 4, 2022 13:31:19 GMT -5
Good to know, thank you!
|
|
|
Post by kuteskee on Jan 8, 2023 13:42:05 GMT -5
itwouldnt let me import a texture for testing
Sims 4 Studio 1.3.4.2 (Apple Blossom) System.Exception: Could not initialize an instance of the type 'CoreGraphics.CGBitmapContext': handle is null. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false. at ObjCRuntime.DisposableObject.InitializeHandle (System.IntPtr handle, System.Boolean verify) [0x00038] in <e4522fda950a42e1a61f97b36f071593>:0 at ObjCRuntime.DisposableObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00008] in <e4522fda950a42e1a61f97b36f071593>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00000] in <e4522fda950a42e1a61f97b36f071593>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <e4522fda950a42e1a61f97b36f071593>:0 at CoreGraphics.CGContext..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <e4522fda950a42e1a61f97b36f071593>:0 at CoreGraphics.CGBitmapContext..ctor (System.Byte[] data, System.nint width, System.nint height, System.nint bitsPerComponent, System.nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGImageAlphaInfo bitmapInfo) [0x00013] in <e4522fda950a42e1a61f97b36f071593>:0 at S4Studio.MacBitmap.ResizeCoreGraphics (System.Int32 width, System.Int32 height) [0x0002b] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.MacBitmap.Resize (System.Int32 width, System.Int32 height) [0x00000] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.AMDCompress.CompressImage (S4Studio.IBitmap bmp, System.Boolean requiresAlpha, System.Boolean uncompressed) [0x00200] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.TC.ConvertData (System.String src_ext, System.String dest_ext, System.Byte[] convert_d, System.Boolean requiresAlpha) [0x000c2] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.TC.ConvertData (System.String filename, System.String dest_ext, System.Boolean requiresAlpha) [0x00026] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.ViewModels.Generic.Sims4SwatchTextureBase.Import (System.String file) [0x00012] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.ViewModels.CAS.CASSwatchTexture.Import (System.String file) [0x00028] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.ViewModels.Generic.Sims4SwatchContent+<>c__DisplayClass66_0.<ExecuteImportTexture>b__0 () [0x00011] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00014] in <6f064ec3ebe048448397ea60b2ecded2>:0
|
|
|
Post by mauvemorn on Jan 8, 2023 13:54:10 GMT -5
itwouldnt let me import a texture for testing Sims 4 Studio 1.3.4.2 (Apple Blossom) System.Exception: Could not initialize an instance of the type 'CoreGraphics.CGBitmapContext': handle is null. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false. at ObjCRuntime.DisposableObject.InitializeHandle (System.IntPtr handle, System.Boolean verify) [0x00038] in <e4522fda950a42e1a61f97b36f071593>:0 at ObjCRuntime.DisposableObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00008] in <e4522fda950a42e1a61f97b36f071593>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00000] in <e4522fda950a42e1a61f97b36f071593>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <e4522fda950a42e1a61f97b36f071593>:0 at CoreGraphics.CGContext..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <e4522fda950a42e1a61f97b36f071593>:0 at CoreGraphics.CGBitmapContext..ctor (System.Byte[] data, System.nint width, System.nint height, System.nint bitsPerComponent, System.nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGImageAlphaInfo bitmapInfo) [0x00013] in <e4522fda950a42e1a61f97b36f071593>:0 at S4Studio.MacBitmap.ResizeCoreGraphics (System.Int32 width, System.Int32 height) [0x0002b] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.MacBitmap.Resize (System.Int32 width, System.Int32 height) [0x00000] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.AMDCompress.CompressImage (S4Studio.IBitmap bmp, System.Boolean requiresAlpha, System.Boolean uncompressed) [0x00200] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.TC.ConvertData (System.String src_ext, System.String dest_ext, System.Byte[] convert_d, System.Boolean requiresAlpha) [0x000c2] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.TC.ConvertData (System.String filename, System.String dest_ext, System.Boolean requiresAlpha) [0x00026] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.ViewModels.Generic.Sims4SwatchTextureBase.Import (System.String file) [0x00012] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.ViewModels.CAS.CASSwatchTexture.Import (System.String file) [0x00028] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4Studio.ViewModels.Generic.Sims4SwatchContent+<>c__DisplayClass66_0.<ExecuteImportTexture>b__0 () [0x00011] in <6f064ec3ebe048448397ea60b2ecded2>:0 at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00014] in <6f064ec3ebe048448397ea60b2ecded2>:0 Make sure your texture is of the right size and format. Export the original texture and check the dimensions
|
|
|
Post by mitropi on Apr 11, 2023 12:30:40 GMT -5
Hi! it doesn't let me to add a new texture from blender to a new clothing item. What can I do with this issue?
Sims 4 Studio 1.4.0.4 (Aurora) System.Exception: Could not initialize an instance of the type 'CoreGraphics.CGBitmapContext': handle is null. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false. at ObjCRuntime.DisposableObject.InitializeHandle (System.IntPtr handle, System.Boolean verify) [0x00038] in <fdc4d190ff7348a284633679eef3f554>:0 at ObjCRuntime.DisposableObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00008] in <fdc4d190ff7348a284633679eef3f554>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00000] in <fdc4d190ff7348a284633679eef3f554>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <fdc4d190ff7348a284633679eef3f554>:0 at CoreGraphics.CGContext..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <fdc4d190ff7348a284633679eef3f554>:0 at CoreGraphics.CGBitmapContext..ctor (System.Byte[] data, System.nint width, System.nint height, System.nint bitsPerComponent, System.nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGImageAlphaInfo bitmapInfo) [0x00013] in <fdc4d190ff7348a284633679eef3f554>:0 at S4Studio.MacBitmap.ResizeCoreGraphics (System.Int32 width, System.Int32 height) [0x0002b] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.MacBitmap.Resize (System.Int32 width, System.Int32 height) [0x00000] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.AMDCompress.CompressImage (S4Studio.IBitmap bmp, System.Boolean requiresAlpha, System.Boolean uncompressed) [0x00200] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.TC.ConvertData (System.String src_ext, System.String dest_ext, System.Byte[] convert_d, System.Boolean requiresAlpha) [0x000c2] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.TC.ConvertData (System.String filename, System.String dest_ext, System.Boolean requiresAlpha) [0x00026] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.ViewModels.Generic.Sims4SwatchTextureBase.Import (System.String file) [0x00106] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.ViewModels.CAS.CASSwatchTexture.Import (System.String file) [0x00049] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.ViewModels.Generic.Sims4SwatchContent+<>c__DisplayClass65_0.<ExecuteImportTexture>b__0 () [0x00011] in <645f0615d2864f56872ebb214315e58a>:0 at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00014] in <645f0615d2864f56872ebb214315e58a>:0
|
|
|
Post by mauvemorn on Apr 11, 2023 14:16:51 GMT -5
Hi! it doesn't let me to add a new texture from blender to a new clothing item. What can I do with this issue? Sims 4 Studio 1.4.0.4 (Aurora) System.Exception: Could not initialize an instance of the type 'CoreGraphics.CGBitmapContext': handle is null. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false. at ObjCRuntime.DisposableObject.InitializeHandle (System.IntPtr handle, System.Boolean verify) [0x00038] in <fdc4d190ff7348a284633679eef3f554>:0 at ObjCRuntime.DisposableObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00008] in <fdc4d190ff7348a284633679eef3f554>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00000] in <fdc4d190ff7348a284633679eef3f554>:0 at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <fdc4d190ff7348a284633679eef3f554>:0 at CoreGraphics.CGContext..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <fdc4d190ff7348a284633679eef3f554>:0 at CoreGraphics.CGBitmapContext..ctor (System.Byte[] data, System.nint width, System.nint height, System.nint bitsPerComponent, System.nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGImageAlphaInfo bitmapInfo) [0x00013] in <fdc4d190ff7348a284633679eef3f554>:0 at S4Studio.MacBitmap.ResizeCoreGraphics (System.Int32 width, System.Int32 height) [0x0002b] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.MacBitmap.Resize (System.Int32 width, System.Int32 height) [0x00000] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.AMDCompress.CompressImage (S4Studio.IBitmap bmp, System.Boolean requiresAlpha, System.Boolean uncompressed) [0x00200] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.TC.ConvertData (System.String src_ext, System.String dest_ext, System.Byte[] convert_d, System.Boolean requiresAlpha) [0x000c2] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.TC.ConvertData (System.String filename, System.String dest_ext, System.Boolean requiresAlpha) [0x00026] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.ViewModels.Generic.Sims4SwatchTextureBase.Import (System.String file) [0x00106] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.ViewModels.CAS.CASSwatchTexture.Import (System.String file) [0x00049] in <645f0615d2864f56872ebb214315e58a>:0 at S4Studio.ViewModels.Generic.Sims4SwatchContent+<>c__DisplayClass65_0.<ExecuteImportTexture>b__0 () [0x00011] in <645f0615d2864f56872ebb214315e58a>:0 at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00014] in <645f0615d2864f56872ebb214315e58a>:0 There must be something wrong with the texture. Can you please upload it on the file sharing website like mediafire.com
|
|