Search Unity

SendEvent failed(il2cpp backend)

Discussion in 'Windows' started by HelloGoodGame, Aug 1, 2017.

  1. HelloGoodGame

    HelloGoodGame

    Joined:
    Apr 17, 2015
    Posts:
    12
    Hi gentlemen, we are facing a critical issue while configuring 'sendevent',

    upload_2017-8-1_17-25-2.png
    'SendEvent failed: cannot call method "system.void system.runtime.interopservices.windowsruntime.IMapToIDictionaryAdapter`2::System.collections.generic.IDictionary`2.set_Item(TKey, TValue)'.IL2CPP does not yet support calling this projected method

    It shows this windowsruntime method does not yet support il2cpp, but 'sending events' itself is the very basic function for integrating xboxlive, for such reason, is there any samples or solutions to show us how to send xboxlive events for UWP using il2cpp backend?

    Since it also seems no possible for us to use .NET backend because of massive compatibility issues, we now prefer using il2cpp instead.

    Dev Environment Details:
    Unity version: Unity 2017.1.0f3
    upload_2017-8-1_17-38-11.png
     

    Attached Files:

  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Hi,

    this actually got reported to us last week, and I'm going to investigate it in next few days. This is most likely functionality that has never been implemented in IL2CPP and nobody ran into it, so I'll have to implement it and then backport it. Stay tuned.
     
  3. HelloGoodGame

    HelloGoodGame

    Joined:
    Apr 17, 2015
    Posts:
    12
    Thanks, Tautvydas.

    Sorry but please allow me ask:
    Do you have a specified day or week to finish this implementation?
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    No, but I am working on it as we speak. Shouldn't take too long.
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Hi, just an update on this: I've got this implemented and working properly. It is now currently getting backported all the way to 5.6. I'll let you know when I know which patch release it will land to.
     
  6. HelloGoodGame

    HelloGoodGame

    Joined:
    Apr 17, 2015
    Posts:
    12
    Wow~~Sounds Great!Appreciate for your work!!!