Open blindgoat opened 10 years ago
Hi, The exception is getting caught and logging the fact "attackItems is null" from the server and printing out the message, so it's benign. We'll update it so it's not as egregious.
Thanks.
On Mon, Apr 14, 2014 at 8:38 PM, Colter Haycock notifications@github.comwrote:
I'm using the Unity plugin, API version 0.7.1.
When getting moves for a Match, I get the following exception printed once for each move in the match: "ActionMatchGetMoves attackItems is null. System.InvalidCastException: Cannot cast from source type to destination type. at com.kumakore.ActionMatchGetMoves.onResponse (com.kumakore.KumakoreHttpResponse response) [0x00000] in :0 "
I am not using the attack items, add items or remove items params when ending my moves (simplified to):
match.sendMove(match.getMoveNum(), moveData, new Dictionary(), new Dictionary(), false, new Dictionary())
Reply to this email directly or view it on GitHubhttps://github.com/kumakore/kumakore-sdk/issues/51 .
I'm using the Unity plugin, API version 0.7.1. This exception doesn't seem to be causing any issues but it seems worth reporting.
When getting moves for a Match, I get the following exception printed once for each move in the match: "ActionMatchGetMoves attackItems is null. System.InvalidCastException: Cannot cast from source type to destination type. at com.kumakore.ActionMatchGetMoves.onResponse (com.kumakore.KumakoreHttpResponse response) [0x00000] in:0 "
I am not using the attack items, add items or remove items params when sending move data. Here is my sendMove call: