Search Unity

AWS Gamelift make NotSupportedExeption when use IL2CPP

Discussion in 'Multiplayer' started by SinkholeStudio, May 18, 2020.

  1. SinkholeStudio

    SinkholeStudio

    Joined:
    Aug 30, 2017
    Posts:
    2
    Hi, I'm using Unity 2019.1.9f1 now.

    my game use AWS GameLift and it makes NotSupportedException Now.

    It Only happend when use "Scription Backend" is IL2CPP

    game works Perfect on
    Editor(PC)
    Build(PC)
    Editor(Android)
    Build(Android - When Scripting Backend is Mono)

    But make NotSupportedException on
    Build(Android - When Scription Backend is IL2CPP)

    upload_2020-5-18_18-0-41.png

    upload_2020-5-18_17-59-56.png

    What I've Tried

    1. Link.xml in Assets/

    upload_2020-5-18_18-4-20.png

    2. put System.Configuration.dll to Assets/Plugins

    But nothing works.

    Any Help or Suggestion is welcome. Thanks.
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,936
    IL2CPP does not support any code in System.Configuration, as it adds too much code size. Unfortunately, you are not able to simply replace the System.Configuration.dll if one from the project.

    Is there a version of AWS GameLift that works with IL2CPP? I'm not too familiar with it.
     
  3. SinkholeStudio

    SinkholeStudio

    Joined:
    Aug 30, 2017
    Posts:
    2
    Thank you for Reply!

    now my game use

    AWSSDK.Core.3.3.104.14
    AWSSDK.GameLift.3.3.105.6
    (No other AWS)