Search Unity

Question GDK and IL2CPP

Discussion in 'Windows' started by Morphus74, Nov 19, 2022.

  1. Morphus74

    Morphus74

    Joined:
    Jun 12, 2018
    Posts:
    174
    Just trying to get Xbox GDK working, but as soon as I compile in IL2CPP, all the call fail.

    Did anyone succeed to use the GDK with IL2CPP?
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,936
    Can you provide details about the error message that occurs when this fails? In general, this should work, but there may be a specific problem in the case you see.
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Are you targeting UWP? As far as I know, GDK isn't compatible with it.
     
  4. Morphus74

    Morphus74

    Joined:
    Jun 12, 2018
    Posts:
    174
    Yes targetting UWP.
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
  6. TayannaStudios

    TayannaStudios

    Joined:
    Oct 18, 2013
    Posts:
    38
  7. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    This isn't Unity's limitation unfortunately. Their binaries just don't work on UWP.