I think i have a fix for the WP8 issue. See code below in Task.agentIsOverride I check for “&& !overrideAgent.isNull” also. On WP8, overrideAgent is serialized out as null but when you inspect the value it has a value of “<b>NULL</b>”. I think the issue is the fact that TaskAgent inherits from BBParameter and overrides the value property. On all other platforms, the value is null, on WP8 the value is “<b>NULL</b>”. I guess maybe a mono bug or maybe a .NET/mono implementation difference??
As overrideAgent is “null” in the JSON and because of this bug it thinks it has an agent and fails to cast null to a type Component later on.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
///Is the agent overriden or the default taken from owner system will be used?
I can confirm my BT is working now with that fix at least!!
Would you be able to look over this potential fix and see if its good? Maybe you could have a UNITY_METRO defines here and not have fix effect other platforms?
Thanks,
PJ
Author
Posts
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.