The forum

[64-bit] Unable to load mono library from… (error = 998).

Author Replies
Renara Wednesday 24 January 2018 at 22:49
RenaraAnonymous

So I'm trying to get a 64-bit Unity game to run under a 64-bit virtual drive but I'm running into an issue with the game's mono.dll with the following error:

Unable to load mono library from "C:/users/renara/Application Data/yiffalicious/app/Yiffalicious/yiffalicious_Data/Mono/mono.dll" (error = 998).

I've scoured searches but can't figure out what error 998 refers to; I've found one for error 126 which is a missing/broken mono.dll, but no explaintaiton what 998 actually means. Some users encountering the same problem with native apps found that installing vcredist_x64.exe fixed it, but that doesn't seem to be the case with WINE.

Anyone have any ideas why this might be failing? There's nothing else in the logs, this error is the first thing to come up, the game hasn't even started loading at that point.

I've already tried using a Library override on mono to force use of the builtin version, and I've tried installing native mono (2.8 via the installer, 4 via a downloaded installer), but none of these worked, just resulting in the 126 error instead if I tried to force an override.

Manually replacing the referenced mono.dll doesn't help either, as it seems to be custom, resulting in the following errors instead:

mono: function mono_thread_pool_cleanup not found
mono: function mono_class_get_userdata_offset not found
mono: function mono_class_get_userdata not found
mono: function mono_class_set_userdata not found
mono: function mono_unity_socket_security_enabled_set not found
mono: function mono_unity_seh_handler not found
mono: function mono_unity_set_unhandled_exception_handler not found
mono: function mono_set_commandline_arguments not found
mono: function mono_class_is_generic not found
mono: function mono_class_is_inflated not found
mono: function unity_mono_method_is_generic not found
mono: function unity_mono_method_is_inflated not found
mono: function mono_set_find_plugin_callback not found
mono: function mono_set_ignore_version_and_key_when_finding_assemblies_already_loaded not found
mono: function mono_unity_set_embeddinghostname not found
mono: function mono_unity_class_is_interface not found
mono: function mono_unity_class_is_abstract not found
mono: function mono_unity_set_vprintf_func not found
mono: function mono_unity_liveness_allocate_struct not found
mono: function mono_unity_liveness_stop_gc_world not found
mono: function mono_unity_liveness_finalize not found
mono: function mono_unity_liveness_start_gc_world not found
mono: function mono_unity_liveness_free_struct not found
mono: function mono_unity_liveness_calculation_begin not found
mono: function mono_unity_liveness_calculation_end not found
mono: function mono_unity_liveness_calculation_from_root not found
mono: function mono_unity_liveness_calculation_from_statics not found
mono: function unity_mono_reflection_method_get_method not found
mono: function g_free not found​

 

I should note; I have been able to get past this problem with a 32-bit install of the same game, so its bundled mono.dll works at least under 32-bit, but unfortunately it doesn't run that well under 32-bit due to the memory limitations.

Is there anything else I can try?

 

FAIR WARNING: Anyone looking up the game in question, Yiffalicious is a furry game with adult content. I won't take the blame if you look anyway

Edited by Renara