Search Unity

  1. New Unity Live Help updates. Check them out here!

    Dismiss Notice

2019.3.0f6 IL2CPP build errors

Discussion in 'Windows' started by Meltdown, Feb 8, 2020.

  1. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,436
    I upgraded my project from 2019.2.16f1 to 2019.3.0f6 and now I can no longer build for Windows.
    I get a lot of these error messages, which are hot helpful at all...


    Code (CSharp):
    1. Msvc Install Version: 15.0
    2.     Msvc Install SDK Directory: C:\Program Files (x86)\Windows Kits\10
    3.     Msvc Linker Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX64\x64\link.exe
    4.     Msvc Compiler Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX64\x64\cl.exe
    5.     Output directory: C:\Projects\STOR\Temp\StagingArea\Data\Native
    6.     Cache directory: C:\Projects\STOR\Library\il2cpp_cache
    7. il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: iRDSMain1.cpp
    8. C:\Projects\STOR\Temp\StagingArea\Data\il2cppOutput\iRDSMain1.cpp(26494): error C2664: 'bool Behaviour_get_enabled_mAA0C9ED5A3D1589C1C8AA22636543528DB353CFB(Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *,const RuntimeMethod *)': cannot convert argument 1 from 'GUITexture_t1679093D89FD7E758DB296145046F8BB10DB7E51 *' to 'Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *'
    9. C:\Projects\STOR\Temp\StagingArea\Data\il2cppOutput\iRDSMain1.cpp(26494): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    10. C:\Projects\STOR\Temp\StagingArea\Data\il2cppOutput\iRDSMain1.cpp(26503): error C2664: 'void Behaviour_set_enabled_m9755D3B17D7022D23D1E4C618BD9A6B66A5ADC6B(Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *,bool,const RuntimeMethod *)': cannot convert argument 1 from 'GUITexture_t1679093D89FD7E758DB296145046F8BB10DB7E51 *' to 'Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 *'
    11. C:\Projects\STOR\Temp\StagingArea\Data\il2cppOutput\iRDSMain1.cpp(26503): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    12. C:\Projects\STOR\Temp\StagingArea\Data\il2cppOutput\iRDSMain1.cpp(26520)
     
unityunity