Closed jimokeane closed 5 months ago
Hi @jimokeane ! Please recheck the version of extension that you currently use. These issue was fixed here https://github.com/defold/gd-sdk-defold/pull/1. And also make sure that you use latest extension with Defold 1.8.0+. Otherwise you need older version of extension.
I've tried both the latest as per readme: https://github.com/GameDistribution/gd-defold/archive/main.zip or a particular version https://github.com/GameDistribution/gd-defold/archive/refs/tags/1.2.0.zip
Both do the same thing. I'm working with the latest build of Defold.
gdsdk DEVELOPER_ERROR allocate is not defined
This really seems to indicate that you are not using the latest version. As you can see from this commit the allocate()
call was changed to stringToUTF8OnStack()
:
Oooooooh, hold on, I see what's going on now. We started work on this extension in this repository, and then at some point four years ago it was "moved" to the official GameDistribution org on GitHub:
https://github.com/GameDistribution/gd-defold
The defold/gd-sdk-defold repo should be archived and the fixes moved to the GameDistribution/gd-defold repo. I'll make sure this happens....
PR with fix to the correct repo: https://github.com/GameDistribution/gd-defold/pull/4
I'm trying to get a game to the point of submitting to Game Distribution. I'm using their developer portal to test an uploaded build. Everything works EXCEPT for the event hook, so I never get the events that tell my game to pause / start or that a reward ad has completed.
I've tried Firefox, Edge and Chrome on Windows 10. I've event tried a very bare-bones build with just this amount of code in it. Ad plays, but I never see any console log messages from the listener (and yes, this is a debug web build).
Console has a lot of this error (gdsdk DEVELOPER_ERROR allocate is not defined) in it: