Windows Store Apps Build Error

NodeCanvas Forums Support Windows Store Apps Build Error

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #10308
    atmuc
    Participant

    http://www.npruehs.de/unity3d-windows-store-part-3-reflections/

    this page helped me. i started to write methods like this. i started to change your core code 🙂

    public static bool IsAssignableFrom(Type first, Type second)
    {
    #if NETFX_CORE
    return first.GetTypeInfo().IsAssignableFrom(second.GetTypeInfo());
    #else
    return first.IsAssignableFrom(second);
    #endif
    }

    #10307
    atmuc
    Participant
    #10306
    Gavalakis
    Keymaster

    Hey Atmuc. Sorry for late reply.
    I didn’t have any luck yet installing Windows8 to debug what’s wrong. Sorry 🙁

    Thanks a lot for trying to help and those links are indeed very usefull. Thing is, that there are quite a few places I use reflection and the Type methods, but blackboard variables are not one of them. They are just normal unity objects in a List. The errors apearing in blackboard and WP8 have to do with BinaryFormater which is the extra feature of saving & loading the variables between gaming sessions. Nothing to do with storing the variables. It’s a different thing.

    The best bet would be to convert the Reflection Helper class you’ve send to exension methods instead, so istead of IsAssignableFrom(Type, Type) it will be Type.NCIsAssignableFrom(Type) for example so that it will be more like the original.

    It will take some time for me to convert and even then I’m not sure it will work the same way as original non WP8 since the API is not the same and there are things missing in the NETFX, like for example GetMethod seems to get only a public method, not NonPublic and not DeclaredOnly BindingFlags as far as I can see.

    Still, I will try and see what I can do in time as for supporting WP8 & Windows Store Apps.

    I wonder why does Microsoft platform always has to pose an issue, while everything else works as they should be.
    I guess that’s the MS way 🙂

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

    #10305
    atmuc
    Participant

    if you convert your reflection usage to ReflectionHelper class i can test it on my Window 8 and Phone 8 systems. i have 2 games that will work on Android, iOS, MacOS, Windows 8, Phone 8. so i can test your asset on those platforms.

    #10304
    Gavalakis
    Keymaster

    I’ve had some progress on that matter if you want me to send it to you and test it out. Let me know

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

Viewing 5 posts - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.