Hello,
I am trying to make an iOS 64 bit build (setting PlayerSettings -> Other Settings -> Scripting Backend: IL2CPP)
I have this error on build:
IL2CPP error for type 'Mono.Security.Protocol.Tls.Handshake.ClientCertificateType' in assembly '/Users/xxx/Documents/iOS Dev/TestBuild_64Bit_iOS/Temp/StagingArea/Data/Managed/Mono.Security.dll'
Additional information: Build a development build for more information. Attempting to constrain a value of type 'System.Object' to type 'AC.ConstantID'.
Failed running /Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/build/il2cpp.exe --copy-level=None --emit-null-checks --enable-array-bounds-check --enable-symbol-loading --development-mode --extra-types.file="/Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/il2cpp_default_extra_types.txt" --assembly="/Users/xxx/Documents/iOS Dev/TestBuild_64Bit_iOS/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" --assembly="/Users/xxx/Documents/iOS Dev/TestBuild_64Bit_iOS/Temp/StagingArea/Data/Managed/UnityEngine.dll" --generatedcppdir="/Users/xxx/Documents/iOS Dev/TestBuild_64Bit_iOS/Temp/il2cppOutput/il2cppOutput" --builder=none
I am reproducing this on an empty project with AC 1.46g, Unity 5.1.2f1
Building an empty project without AC works. Anybody experiencing this?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
It seems that this is a bug with the latest Unity release, rather than AC - as the link in this thread suggests. It seems that Unity are on the case, however, so hopefully the next release will see this sorted.
Until then, you may have to roll back to an earlier version of Unity for the game to build.