WP8 not working

NodeCanvas Forums Support WP8 not working

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #10053

    Hello,
    I have a problem with NC I can’t get it to work with WP8, it works fine on the editor but when i run it on the phone or simulator nothing happens, i get a punch of exceptions in VS:
    A first chance exception of type ‘System.MethodAccessException’ occurred in Assembly-CSharp.DLL

    the NC examples are not working as well.
    you said that WP8 and windows store are supported, so is there something special I should do to make it run?
    I am using unity 4.6 and NC 1.5.9

    I appreciate your help on this ASAP because i have a deadline by the end of this month.

    Thanks in advance.

    #10060
    Gavalakis
    Keymaster

    Hello,
    Sorry for bit late reply.

    In the last NC version 1.5.9 I’ve changed reflection stuff to use delegates using expression trees instead of calling MethodInfo.Invoke which is slower than calling a delegate directly. What I didn’t realize only later is that this doesn’t work in all mobiles (while it should it WP8).

    I am working on reverting these changes so that everything works as before.
    I will send you the changed scripts to replace very soon once I fix them. Should I send them to the email you’ve registered with in this forum?

    Also, can you please let me know of the errors you are getting?

    If you are in a much hurry, I can send you NC version 1.5.8 right now which worked fine on all mobiles.
    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #10059

    Hello,
    Thank you for your reply,
    I have just reverted back to 1.5.8 since i bought it earlier and I didn’t have time to test then, but this didn’t help.
    the same problem, the NC not working at all, and on the mobile i don’t get any error messages but on the simulator i get:
    A first chance exception of type ‘System.MethodAccessException’ occurred in Assembly-CSharp.DLL

    this exception doesn’t crash the game.
    is there something special i should do to make it run on wp8? something like configuration or some player settings?
    I am clueless on how to debug this problem, since the examples are not working either.
    BTW i am using wp8.1

    #10058
    Gavalakis
    Keymaster

    That’s very weird. Just to let you know, I am looking through the matter. It worked on WP8 up until very recently confirmed by another NC user that helped me prety much making sure it does, since I personaly don’t own a WP8 device.
    There must be something very sily going on that I need to find.
    If there are more full error logs throwing instead of that single line, please paste it all here, as it will help me trace the issue on what I’ve changed.

    Thanks a lot. We will make sure it works within time.

    Join us on Discord: https://discord.gg/97q2Rjh

    #10057

    thanks a lot for looking into it,
    Unfortunately there are no other errors or any more info on the errors, i tried to dig into it yesterday but i couldnt get more info, the only info about this error that it has to do with reflection and security, something about partial trusted code, this what i’ve found from msdn.
    you don’t need WP8 device to check the error, you could use the simulator in Visual studio if you have it.

    #10056

    This sounds very similar to an issue I’ve run into with Windows Store Apps (WSA), see the thread I started which includes a full output log.

    Todd

    #10055

    I posted a fix for this in the thread “Windows Store App”.

    /Todd

    #10054

    Todd Heckel Million thanks, your solution worked, now its working fine on wp8, I wish if the error message gave any info about the problem because the solution was adding a one word “public”.
    but anyway thanks alot guys for the help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.