I followed the GameAnalytics tutorial to install the SDK.
But I get this error: "Error/GameAnalytics: Initialize 'gameKey' option missing"
Of course I copyied and pasted the gameKey and SecretKey into the Server script that initialize it, I cant find any documentation about the error.
Can someone help me to make this to work? is there something else I should add?
The reason is because internally, GameAnalytics calls Initialize already so if you follow their tutorial, you may have called GameAnalytics:initialize({
useCustomUserId = true,
– more settings
})
Ugh wth that’s so confusing
Thanks, that fixed the error for me
They really need to update their docs. Not good when you follow the docs to a T you get something that errors…
They also use :connect() instead of :Connect() and I’m just like “agh”
Small thing, but it gives me subtle hints about a programmer’s discipline when they stubbornly use deprecated APIs in new work. (Especially in docs!)