Search Unity

IL2CPP Exception error

Discussion in 'Editor & General Support' started by Scoppex, Apr 13, 2021.

  1. Scoppex

    Scoppex

    Joined:
    Apr 13, 2021
    Posts:
    9
    Hello,
    I would like to compile my game in IL2CPP, but console throws me error:

    Unity.IL2CPP.Building.BuilderFailedException: pch-cpp.cpp
    'string.h': No such file or directory

    Build completed with a result of 'Failed' in 25 seconds (24999 ms)
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()

    It is possible that its because I dont have some from VB C++ components? I have installed almost everything and still getting this error.
    How to check what should be installed, or maybe problem is somewhere else?
    I have visual studio 2017 and Unity 2021.1

    Greetings
     
    Last edited: Apr 13, 2021