Search Unity

[IL2CPP] [UWP] Build Suceeded. Fatal Error on Play. Failed to load Game Assembly

Discussion in 'Windows' started by Mr_Purple, Feb 18, 2019.

  1. Mr_Purple

    Mr_Purple

    Joined:
    Apr 2, 2018
    Posts:
    2
    Hello everyone,

    like the Threadtitle says the UWP Build Suceeded, but if i want to Play i get an Fatal Error. Failed to load Game Assembly. I tried on Windows 10 1809 and compiled the Game with VS 2017. Compiling works fine.

    In the UnityPlayer.log i got this Error:
     il2cpp: function il2cpp_unity_install_unitytls_interface not found
    Failed to load Game Assembly!


    2019-02-18 10_24_19-Window.png

    I have no idea how to fix this error . Anybody knows how to fix?

    Here is the Content of the UnityPlayer.log

    Code (Boo):
    1. Module information:
    2. Built with Compiler Ver '190024218'
    3. Built from '2018.2/staging' branch
    4. Version is '2018.2.16f1 (39a4ac3d51f6)'
    5. Release build
    6. Application type 'D3D'
    7. OS 'Windows 10 (10.0.17763) 64bit'
    8. Could not load symbol il2cpp_class_get_type_token : Operation has failed with error 0x7f: Die angegebene Prozedur wurde nicht gefunden.
    9.  
    10.  
    11. (Filename: C:\buildslave\unity\build\Runtime/Modules/LoadDylib.cpp Line: 208)
    12.  
    13. il2cpp: function il2cpp_class_get_type_token not found
    14. Could not load symbol il2cpp_class_get_rank : Operation has failed with error 0x7f: Die angegebene Prozedur wurde nicht gefunden.
    15.  
    16.  
    17. (Filename: C:\buildslave\unity\build\Runtime/Modules/LoadDylib.cpp Line: 208)
    18.  
    19. il2cpp: function il2cpp_class_get_rank not found
    20. Could not load symbol il2cpp_method_get_from_reflection : Operation has failed with error 0x7f: Die angegebene Prozedur wurde nicht gefunden.
    21.  
    22.  
    23. (Filename: C:\buildslave\unity\build\Runtime/Modules/LoadDylib.cpp Line: 208)
    24.  
    25. il2cpp: function il2cpp_method_get_from_reflection not found
    26. Could not load symbol il2cpp_type_is_byref : Operation has failed with error 0x7f: Die angegebene Prozedur wurde nicht gefunden.
    27.  
    28.  
    29. (Filename: C:\buildslave\unity\build\Runtime/Modules/LoadDylib.cpp Line: 208)
    30.  
    31. il2cpp: function il2cpp_type_is_byref not found
    32. Could not load symbol il2cpp_type_get_attrs : Operation has failed with error 0x7f: Die angegebene Prozedur wurde nicht gefunden.
    33.  
    34.  
    35. (Filename: C:\buildslave\unity\build\Runtime/Modules/LoadDylib.cpp Line: 208)
    36.  
    37. il2cpp: function il2cpp_type_get_attrs not found
    38. Could not load symbol il2cpp_type_equals : Operation has failed with error 0x7f: Die angegebene Prozedur wurde nicht gefunden.
    39.  
    40.  
    41. (Filename: C:\buildslave\unity\build\Runtime/Modules/LoadDylib.cpp Line: 208)
    42.  
    43. il2cpp: function il2cpp_type_equals not found
    44. Could not load symbol il2cpp_type_get_assembly_qualified_name : Operation has failed with error 0x7f: Die angegebene Prozedur wurde nicht gefunden.
    45.  
    46.  
    47. (Filename: C:\buildslave\unity\build\Runtime/Modules/LoadDylib.cpp Line: 208)
    48.  
    49. il2cpp: function il2cpp_type_get_assembly_qualified_name not found
    50. Could not load symbol il2cpp_debugger_set_agent_options : Operation has failed with error 0x7f: Die angegebene Prozedur wurde nicht gefunden.
    51.  
    52.  
    53. (Filename: C:\buildslave\unity\build\Runtime/Modules/LoadDylib.cpp Line: 208)
    54.  
    55. il2cpp: function il2cpp_debugger_set_agent_options not found
    56. Could not load symbol il2cpp_is_debugger_attached : Operation has failed with error 0x7f: Die angegebene Prozedur wurde nicht gefunden.
    57.  
    58.  
    59. (Filename: C:\buildslave\unity\build\Runtime/Modules/LoadDylib.cpp Line: 208)
    60.  
    61. il2cpp: function il2cpp_is_debugger_attached not found
    62. Could not load symbol il2cpp_unity_install_unitytls_interface : Operation has failed with error 0x7f: Die angegebene Prozedur wurde nicht gefunden.
    63.  
    64.  
    65. (Filename: C:\buildslave\unity\build\Runtime/Modules/LoadDylib.cpp Line: 208)
    66.  
    67. il2cpp: function il2cpp_unity_install_unitytls_interface not found
    68. Failed to load Game Assembly!
    69.  
     
    Last edited: Feb 19, 2019
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    6,417
    That looks like mismatched IL2CPP and Unity version. Did you try building your project to an empty folder?
     
  3. Mr_Purple

    Mr_Purple

    Joined:
    Apr 2, 2018
    Posts:
    2
    Thank you very much!
    That points me in the right direction. I builded the vs project on a machine with unity 2017 installed. Then i copied the project and wanted to build the uwp package on another machine, where unity 2018 was installed. That was the fault.

    The solution was to downgrade to unity 2017 again, then everything works as expected.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    6,417
    For the future reference, if you want to copy generated VS project to another machine safely, check "Copy References" checkbox. Then the build won't depend on installed Unity.