Post by noturaveragegoddess on Aug 4, 2023 22:48:24 GMT -5
Hello I am also receiving an error message whenever I try to import a texture from blender version 2.79 to sims 4 studio.
Sims 4 Studio 1.4.0.8 (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 <6fac94efd0174dc2abdb702a56d50434>:0
at ObjCRuntime.DisposableObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00008] in <6fac94efd0174dc2abdb702a56d50434>:0
at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00000] in <6fac94efd0174dc2abdb702a56d50434>:0
at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <6fac94efd0174dc2abdb702a56d50434>:0
at CoreGraphics.CGContext..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <6fac94efd0174dc2abdb702a56d50434>: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 <6fac94efd0174dc2abdb702a56d50434>:0
at S4Studio.MacBitmap.ResizeCoreGraphics (System.Int32 width, System.Int32 height) [0x0002b] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.MacBitmap.Resize (System.Int32 width, System.Int32 height) [0x00000] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.AMDCompress.CompressImage (S4Studio.IBitmap bmp, System.Boolean requiresAlpha, System.Boolean uncompressed) [0x00200] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.TC.ConvertData (System.String src_ext, System.String dest_ext, System.Byte[] convert_d, System.Boolean requiresAlpha) [0x000c2] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.TC.ConvertData (System.String filename, System.String dest_ext, System.Boolean requiresAlpha) [0x00026] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.ViewModels.Generic.Sims4SwatchTextureBase.Import (System.String file) [0x00106] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.ViewModels.CAS.CASSwatchTexture.Import (System.String file) [0x00049] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.ViewModels.Generic.Sims4SwatchContent+<>c__DisplayClass65_0.<ExecuteImportTexture>b__0 () [0x00011] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4S.UI.Core.S4SWindow+<>c__DisplayClass17_0.<BeginLoading>b__1 () [0x00014] in <b42ba18076af4f169472e1cb6fee3491>:0
Any help will be greatly appreciated😁
Sims 4 Studio 1.4.0.8 (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 <6fac94efd0174dc2abdb702a56d50434>:0
at ObjCRuntime.DisposableObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00008] in <6fac94efd0174dc2abdb702a56d50434>:0
at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns, System.Boolean verify) [0x00000] in <6fac94efd0174dc2abdb702a56d50434>:0
at CoreFoundation.NativeObject..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <6fac94efd0174dc2abdb702a56d50434>:0
at CoreGraphics.CGContext..ctor (System.IntPtr handle, System.Boolean owns) [0x00000] in <6fac94efd0174dc2abdb702a56d50434>: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 <6fac94efd0174dc2abdb702a56d50434>:0
at S4Studio.MacBitmap.ResizeCoreGraphics (System.Int32 width, System.Int32 height) [0x0002b] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.MacBitmap.Resize (System.Int32 width, System.Int32 height) [0x00000] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.AMDCompress.CompressImage (S4Studio.IBitmap bmp, System.Boolean requiresAlpha, System.Boolean uncompressed) [0x00200] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.TC.ConvertData (System.String src_ext, System.String dest_ext, System.Byte[] convert_d, System.Boolean requiresAlpha) [0x000c2] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.TC.ConvertData (System.String filename, System.String dest_ext, System.Boolean requiresAlpha) [0x00026] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.ViewModels.Generic.Sims4SwatchTextureBase.Import (System.String file) [0x00106] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.ViewModels.CAS.CASSwatchTexture.Import (System.String file) [0x00049] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4Studio.ViewModels.Generic.Sims4SwatchContent+<>c__DisplayClass65_0.<ExecuteImportTexture>b__0 () [0x00011] in <b42ba18076af4f169472e1cb6fee3491>:0
at S4S.UI.Core.S4SWindow+<>c__DisplayClass17_0.<BeginLoading>b__1 () [0x00014] in <b42ba18076af4f169472e1cb6fee3491>:0
Any help will be greatly appreciated😁