bladecoder / bladecoder-adventure-engine

Classic point and click adventure game engine and editor
Apache License 2.0
601 stars 66 forks source link

Recurrent error when running the adventure-editor on Mac, please help! #54

Open incoun opened 3 years ago

incoun commented 3 years ago

@bladecoder
Hello Rafael, I'm super amazed by this engine and I really want to try it but I keep getting an error when I try to run it on Mac. The editor won't open and every time I try to run it (I've tried with Java 8, Java 11 and Java 15), I get this error:

java[7547:55027] Terminating app due to uncaught exception NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!' First throw call stack: ( 0 CoreFoundation 0x00007fff204d36af exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007fff2020b3c9 objc_exception_throw + 48 2 CoreFoundation 0x00007fff204fba9a -[NSException raise] + 9 3 AppKit 0x00007fff22c9f8a0 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321 4 AppKit 0x00007fff22cc7c1b -[NSThemeFrame setStyleMask:] + 142 5 AppKit 0x00007fff22cc79b1 25-[NSWindow setStyleMask:]_block_invoke + 2057 6 AppKit 0x00007fff22cc714e NSPerformVisuallyAtomicChange + 132 7 AppKit 0x00007fff22cc705b -[NSWindow setStyleMask:] + 170 8 liblwjgl.dylib 0x000000013283dcca Java_org_lwjgl_opengl_MacOSXDisplay_nSetResizable + 90 9 ??? 0x0000000115c1f970 0x0 + 4660001136 10 ??? 0x0000000115c19ca7 0x0 + 4659977383 11 ??? 0x0000000115c19cec 0x0 + 4659977452 ) libc++abi.dylib: terminating with uncaught exception of type NSException Abort trap: 6

Please help! :((

Uvarri commented 2 years ago

Hi. I have the same issue on Mac. I've found this issue: https://github.com/matplotlib/matplotlib/issues/14304 This suggestion works for them https://github.com/matplotlib/matplotlib/issues/14304#issuecomment-545717061 Commit: https://github.com/deduce-dev/dac-man/commit/d085b9a334ee98ff4982babb11923f8c1e9eca77