Skip to content

Instantly share code, notes, and snippets.

@eiennohito
Last active September 7, 2019 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eiennohito/d6e2567c92a57f6f4267736422bd1504 to your computer and use it in GitHub Desktop.
Save eiennohito/d6e2567c92a57f6f4267736422bd1504 to your computer and use it in GitHub Desktop.
Initialize engine version: 2018.2.20f1 (cef3e6c0c622)
GfxDevice: creating device client; threaded=1
Boolean HIDBuildMultiDeviceList(const UInt32 *, const UInt32 *, int): Couldn’t open IOHIDManager.Renderer: AMD Radeon Pro 560 OpenGL Engine
Vendor: ATI Technologies Inc.
Version: 4.1 ATI-2.11.20
GLES: 0
GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_depth_bounds_test GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable G
L_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
OPENGL LOG: Creating OpenGL 4.1 graphics device ; Context level <OpenGL 4.1> ; Context handle -796239872
Begin MonoManager ReloadAssembly
- Completed reload, in 0.120 seconds
UnloadTime: 0.527451 ms
[23:47:50.456] [1] [INFO] Starting up with a resolution of 3360x2100 @60hz (fullscreen: True)
[23:47:50.543] [1] [INFO] Found player prefs resolution 3360x2100 @60hz (fullscreen: True)
[23:47:50.543] [1] [INFO] Applying resolution 3360x2100 @60hz (fullscreen: True)
[23:47:50.584] [1] [INFO] release Build: LU-365655
SYSTEM INFO:
Platform=OSXPlayer
OSname=Mac OS X 10.14.6
OSversion=18.7.0.0
CPUmodel=MacBookPro14,3
CPUdeviceType=Desktop
ProcBits=64
CPUcount=8
CPUtype=Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
SystemMemoryMegs=16384
GPUgraphicsDeviceID=26607
GPUname=AMD Radeon Pro 560 OpenGL Engine
GPUgraphicsDeviceType=OpenGLCore
GPUgraphicsDeviceVendor=ATI Technologies Inc.
GPUgraphicsDeviceVendorID=4098
GPUgraphicsDeviceVersion=OpenGL 4.1 ATI-2.11.20
GPUmemoryMegs=4096
GPUgraphicsMultiThreaded=False
GPUgraphicsShaderLevel=46
GPUmaxTextureSize=16384
GPUnpotSupport=Full
GPUsupportedRenderTargetCount=8
GPUsupports2DArrayTextures=True
GPUsupports3DTextures=True
GPUsupportsComputeShaders=False
GPUsupportsImageEffects=True
GPUsupportsInstancing=True
GPUsupportsRenderToCubemap=True
GPUsupportsShadows=True
GPUsupportsSparseTextures=False
System Language=English
[23:47:51.037] [1] [INFO] Initializing at 2019-09-05 23:47:51.036
[23:47:51.037] [1] [INFO] Save path: /Users/eiennohito/Library/Application Support/unity.Klei.Oxygen Not Included
[23:47:51.395] [1] [INFO] ModLoader.dll failed to load. Either it is not present or it encountered an error
[23:47:51.397] [1] [INFO] Loading MOD dll: CustomizeBuildings.dll
[23:47:51.450] [1] [INFO] Loading: /Users/eiennohito/Library/Application Support/unity.Klei.Oxygen Not Included/mods/CustomizeBuildings.json
[23:47:51.638] [1] [WARNING] Missing Anim: [HashedString]. You may have to run Collect Anim on the Assets prefab
Setting breakpad minidump AppID = 457140
Steam_SetMinidumpSteamID: Caching Steam ID: 76561197980000435 [API loaded no]
[23:47:51.734] [1] [INFO] Localization.Initialize!
[23:47:51.741] [1] [INFO] Logged into Steam with ID:76561197980000435, NAME:eiennohito
[23:47:51.742] [1] [INFO] [Account] Requesting auth ticket from Steam
[23:47:53.019] [2] [INFO] [Account] Got login for user KU_a-_1VbN8
[23:47:53.472] [1] [INFO] CheckConfig Apothecary resulted in False
[23:47:53.544] [1] [INFO] CheckConfig Textile Loom resulted in False
[23:47:53.584] [1] [INFO] CheckConfig Electric Grill resulted in False
[23:47:53.619] [1] [INFO] CheckConfig Egg Cracker resulted in False
[23:47:53.638] [1] [INFO] Multiplier: EthanolDistillery x4
[23:47:53.759] [1] [INFO] CheckConfig Glass Forge resulted in True
[23:47:53.768] [1] [INFO] CheckConfig Gas Range resulted in False
NullReferenceException: Object reference not set to an instance of an object
at CustomizeBuildings.LadderConfig_DoPostConfigureComplete.Prepare () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) UnityEngine.Object:Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object,UnityEngine.Transform,UnityEngine.Vector3&,UnityEngine.Quaternion&)
at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, Vector3 pos, Quaternion rot) [0x00000] in <filename unknown>:0
at UnityEngine.Object.Instantiate (UnityEngine.Object original, Vector3 position, Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <filename unknown>:0
at UnityEngine.Object.Instantiate[GameObject] (UnityEngine.GameObject original, Vector3 position, Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <filename unknown>:0
at Util.KInstantiate (UnityEngine.GameObject original, Vector3 position, Quaternion rotation, UnityEngine.GameObject parent, System.String name, Boolean initialize_id, Int32 gameLayer) [0x00000] in <filename unknown>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <filename unknown>:0
at LaunchInitializer.Update () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
Receiving unhandled NULL exception
Obtained 56 stack frames.
#0 0x000001113f4809 in mono_traverse_object_internal
#1 0x000001113f4c3c in mono_traverse_objects
#2 0x000001113f4bfd in mono_traverse_objects
#3 0x000001113f4bfd in mono_traverse_objects
#4 0x000001113f4bfd in mono_traverse_objects
#5 0x000001113f4ca6 in mono_traverse_objects
#6 0x000001113f4bfd in mono_traverse_objects
#7 0x000001113f4bfd in mono_traverse_objects
#8 0x000001113f4bfd in mono_traverse_objects
#9 0x000001113f4bfd in mono_traverse_objects
#10 0x000001113f4bfd in mono_traverse_objects
#11 0x000001113f4bfd in mono_traverse_objects
#12 0x000001113f4bfd in mono_traverse_objects
#13 0x000001113f4bfd in mono_traverse_objects
#14 0x000001113f4bfd in mono_traverse_objects
#15 0x000001113f4bfd in mono_traverse_objects
#16 0x000001113f4bfd in mono_traverse_objects
#17 0x000001113f468d in mono_unity_liveness_calculation_from_statics
#18 0x00000106d776b4 in GarbageCollectSharedAssets(bool, bool)
#19 0x00000106d903f5 in UnloadUnusedAssetsOperation::IntegrateMainThread()
#20 0x00000106d8f673 in PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int)
#21 0x00000106d8fb37 in PreloadManager::WaitForAllAsyncOperationsToComplete()
#22 0x00000106d7912e in ExecutePlayerLoop(NativePlayerLoopSystem*)
#23 0x00000106d79157 in ExecutePlayerLoop(NativePlayerLoopSystem*)
#24 0x00000106d79356 in PlayerLoop()
#25 0x0000010736bf08 in -[PlayerAppDelegate UpdatePlayer]
#26 0x0000010736e5fa in -[PlayerWindowView drawRect:]
#27 0x007fff37baf21e in _NSViewDrawRect
#28 0x007fff37b9a05e in -[NSView _drawRect:clip:]
#29 0x007fff37b97fe1 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#30 0x007fff37b97798 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#31 0x007fff37b96b8e in -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
#32 0x007fff37b94490 in -[NSView _oldDisplayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
#33 0x007fff37b93ac9 in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
#34 0x007fff37b906be in -[NSView displayIfNeeded]
#35 0x007fff37b8d3ff in -[NSWindow displayIfNeeded]
#36 0x007fff37b8d240 in __NSWindowGetDisplayCycleObserverForDisplay_block_invoke
#37 0x007fff37b88334 in NSDisplayCycleObserverInvoke
#38 0x007fff37b87eb4 in NSDisplayCycleFlush
#39 0x007fff44ef954d in CA::Transaction::run_commit_handlers(CATransactionPhase)
#40 0x007fff44ef8d26 in CA::Transaction::commit()
#41 0x007fff37b8784d in __65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke
#42 0x007fff3a4ecf28 in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
#43 0x007fff3a4ece5d in __CFRunLoopDoObservers
#44 0x007fff3a48f580 in __CFRunLoopRun
#45 0x007fff3a48eebe in CFRunLoopRunSpecific
#46 0x007fff396ee1ab in RunCurrentEventLoopInMode
#47 0x007fff396edded in ReceiveNextEventCommon
#48 0x007fff396edc76 in _BlockUntilNextEventMatchingListInModeWithFilter
#49 0x007fff37a8679d in _DPSNextEvent
#50 0x007fff37a8548b in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
#51 0x0000010890e79f in -[NSApplication(SteamOverrideNextEvent) steamhooked_nextEventMatchingMask:untilDate:inMode:dequeue:]
#52 0x007fff37a7f5a8 in -[NSApplication run]
#53 0x007fff37a6eae8 in NSApplicationMain
#54 0x0000010737934f in PlayerMain(int, char const**)
#55 0x007fff663e53d5 in start
@Truinto
Copy link

Truinto commented Sep 5, 2019

[10:39:55.779] [1] [INFO] Subscribe to mod CustomizeBuildingsV13
[10:39:55.780] [1] [INFO] Subscribe to mod CustomizeBuildingsV13.3

Could it be you have the mod twice in your mod directory? ExecutionEngineException: SIGILL is probably related to an assembly conflict which also points towards the same assembly being loaded twice. I did not update the assembly version between V13 and V13.3

@eiennohito
Copy link
Author

eiennohito commented Sep 5, 2019

I see. SIGILL is a native thing though that can happen if the CPU gets the execution pointer set to an invalid instruction. Could be a mono bug though. Or do the mods hook into native instruction stream?
Removed both installed locally and tried the new version from workshop: still crashes, now with a new stacktrace (but I have seen a variation of this one as well).

@Truinto
Copy link

Truinto commented Sep 6, 2019

Mh... I don't see why that would happen. Maybe it is something from the new features.

leonlx126 Vor 13 Stunden
Same as @eiennohito, crashing on Mac version.
From the log file by @eiennohito, looks like something wrong with the ladder config, so I found a workaround, that is to edit the config file, change
"LadderCometInvincibility": true, to "LadderCometInvincibility": false,

This would point towards the ladder patch I implemented. I checked the 3 lines of code responsible and I don't see any way this would behave differently between Windows and MacOS.

Could you please disable this feature, or all features, and then check the difference? If it is caused by the ladder patch, then I might implement RuntimeInformation.IsOSPlatform() to exclude this setting from Mac players.
BTW there is a json file in the mod folder containing the settings that would disable everything.

@Truinto
Copy link

Truinto commented Sep 6, 2019

Oh. I just noticed this line:

at CustomizeBuildings.LadderConfig_DoPostConfigureComplete.Prepare () [0x00000] in :0

Well, I can make a null check there. Not sure why that would be null, but OK. Still please check if it works with LadderCometInvincibility false.

@eiennohito
Copy link
Author

eiennohito commented Sep 6, 2019

The game does not crash with LadderCometInvincibility: false. So seems related to that logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment