GameAnalytics / GA-SDK-DEFOLD

Repository for GameAnalytics Defold SDK
MIT License
14 stars 7 forks source link

win32 builds crash with latest Defold version #25

Closed subsoap closed 4 years ago

subsoap commented 4 years ago

Make a blank project

Add game key/secret to game.project

Bundle for windows 32 (64 works fine)

Defold writes a crash dump

Might be related to latest clang update

mathiaswking commented 4 years ago

What dependencies did you use for this?

the1schwartz commented 4 years ago

gdi32.lib libcurl.lib libeay32.lib ole32.lib ssleay32.lib

mathiaswking commented 4 years ago

Oh, I meant, game.project dependencies (i.e. the native extensions)

the1schwartz commented 4 years ago

Ah ok not dependent on any other native extensions

subsoap commented 4 years ago

@mathiaswking I tested with this extension only. A blank project with this extension on win32 does not crash. You must include game/secret key in the game.project file for it to crash. If you need I can provide _crash and debug symbols.

mathiaswking commented 4 years ago

It seems they've found the crash in their lib for Win32, and are making a new release (https://forum.defold.com/t/extender-server-ios-13-osx-10-15-clang-9/63569/35?u=mathias_westerdahl)

the1schwartz commented 4 years ago

This should be fixed in the latest version now (v2.3.1). Let me know if it still happens for you.

mathiaswking commented 4 years ago

Nice work!

Heads up, you have a compile error here:

https://github.com/GameAnalytics/GA-SDK-DEFOLD/blob/2563dd4648a5d97a99e8ad93bf4daf7cac54faff/gameanalytics/src/GameAnalyticsDefold.cpp#L104

2 args as opposed to 3

the1schwartz commented 4 years ago

Thanks. That should be fixed as well now.