In the hopes of finding a fellow unity3d developer also aiming for the Kongregate contest..

I've implemented the Kongregate API and can see that the game receives a call with my username and presents it ingame. I'm using Application.ExternalCall("kongregate.stats.submit",type,amount);

where type is a string "Best Score" and amount is an int (1000 or something).

This is the error I'm getting:

You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used as a workaround.

callASFunction:function(a,b){if(FABrid...tion, can be used as a workaround.");

I'm wondering, has anyone else had this error or am I somehow doing something stupid?


  • \$\begingroup\$ Any of this help? Google returns very little, this is about all I see. answers.unity3d.com/questions/1920/… \$\endgroup\$ – Ricket Feb 14 '11 at 14:12
  • \$\begingroup\$ In fact you may want to try asking this same question over there and see if they can help you. answers.unity3d.com \$\endgroup\$ – Ricket Feb 14 '11 at 14:13

I don't know how, but I solved it by making sure the API was only initialized once. The problem with that is that if the person playing is a guest, it's impossible to get to know when the player logs in during play. I solved that with a work around, giving the player the possibility of manually saying when he/she has logged in. Not beautiful but works in war.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.