Skip to content

Game crashing when calling open and save dialog functions #148

@BeboKhouja

Description

@BeboKhouja

I am modding a Unity game. Everything works fine in the editor, but when I build it, and try calling the functions, the game crashes.

Whats odd is that my other project, which has this same library, works fine in Mono.

I do have a copy of the Player.log file.

  ERROR: SymGetSymFromAddr64, GetLastError: 'The specified module could not be found.' (Address: 00000296EFBA03A6)
  ERROR: SymGetModuleInfo64, GetLastError: 'A dynamic link library (DLL) initialization routine failed.' (Address: 00000296EFBA03A6)
0x00000296EFBA03A6 ((<unknown>)) (function-name not available)
0x00000298DF7FC003 (Mono JIT Code) (wrapper cominterop) Ookii.Dialogs.Interop.IFileDialog:Advise (Ookii.Dialogs.Interop.IFileDialogEvents,uint&)
0x00000298DF7F4D13 (Mono JIT Code) (wrapper cominterop-invoke) Ookii.Dialogs.Interop.IFileDialog:Advise (Ookii.Dialogs.Interop.IFileDialogEvents,uint&)
0x00000298DF7FAC36 (Mono JIT Code) Ookii.Dialogs.VistaFileDialog:SetDialogProperties (Ookii.Dialogs.Interop.IFileDialog)
0x00000298DF7FA6DB (Mono JIT Code) Ookii.Dialogs.VistaOpenFileDialog:SetDialogProperties (Ookii.Dialogs.Interop.IFileDialog)
0x00000298DF7A7F81 (Mono JIT Code) Ookii.Dialogs.VistaFileDialog:RunFileDialog (intptr)
0x00000298DF7A7CFB (Mono JIT Code) Ookii.Dialogs.VistaFileDialog:RunDialog (intptr)
0x00000298DF7A770E (Mono JIT Code) System.Windows.Forms.CommonDialog:ShowDialog (System.Windows.Forms.IWin32Window)
0x00000298DF7A7503 (Mono JIT Code) (wrapper remoting-invoke-with-check) System.Windows.Forms.CommonDialog:ShowDialog (System.Windows.Forms.IWin32Window)
[Project code]

The error only occurs on Mono, but on IL2CPP, it works fine.
I configured the DLLs properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions