我从我的iOS应用程序(使用Unity3d构建)中收到以下异常:
NotSupportedException: /Users/builduser/buildslave/unity/build/External/il2cpp/il2cpp/libil2cpp/icalls/mscorlib/System/Environment.cpp(166) : Unsupported internal call for IL2CPP:Environment::get_HasShutdownStarted - "This icall is not supported by il2cpp
这是我拥有的C#stackstrace:
System.Threading.ThreadPoolWorkQueueThreadLocals.Finalize () (at <00000000000000000000000000000000>:0)
System.UnhandledExceptionEventHandler:Invoke(Object, UnhandledExceptionEventArgs)
我能做什么?
答案 0 :(得分:1)
这是Unity中的已知错误。我们已经更正了,修复程序应该在Unity的2017.1.1p3修补程序版本中提供。
答案 1 :(得分:0)
此错误仍然存在于2017.2.0p3。
NotSupportedException:/Users/builduser/buildslave/unity/build/External/il2cpp/il2cpp/libil2cpp/icalls/mscorlib/System/Environment.cpp(166):对IL2CPP不支持的内部调用:Environment :: get_HasShutdownStarted - “This il2cpp
不支持icall