Building Library\Bee\artifacts\Android\87lik\ho6i_data0.lump.o failed with output: In file included from Library/Bee/artifacts/Android/87lik/jfwz_metadata0.lump.cpp:3: In file included from F:/MyWorkProject/UnityEditorProjectTest/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/metadata/CustomAttributeDataReader.cpp:11: In file included from F:/MyWorkProject/UnityEditorProjectTest/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp\hybridclr/metadata/MetadataUtil.h:10: In file included from F:/MyWorkProject/UnityEditorProjectTest/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp\hybridclr/metadata/../CommonDef.h:7: F:\MyWorkProject\UnityEditorProjectTest\HybridCLRData\LocalIl2CppData-WindowsEditor\il2cpp\libil2cpp\hybridclr\Il2CppCompatibleDef.h(25,2): error: "not suppport unity version" #error "not suppport unity version" ^ F:\MyWorkProject\UnityEditorProjectTest\HybridCLRData\LocalIl2CppData-WindowsEditor\il2cpp\libil2cpp\hybridclr\Il2CppCompatibleDef.h(264,2): error: "not support unity version" #error "not support unity version" ^ In file included from Library/Bee/artifacts/Android/87lik/jfwz_metadata0.lump.cpp:3: In file included from F:/MyWorkProject/UnityEditorProjectTest/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/metadata/CustomAttributeDataReader.cpp:11: In file included from F:/MyWorkProject/UnityEditorProjectTest/HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp\hybridclr/metadata/MetadataUtil.h:10: F:\MyWorkProject\UnityEditorProjectTest\HybridCLRData\LocalIl2CppData-WindowsEditor\il2cpp\libil2cpp\hybridclr\CommonDef.h(19,10): fatal error: 'icalls/mscorlib/System/MonoType.h' file not found #include "icalls/mscorlib/System/MonoType.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 errors generated. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)什么问题?
时间: 2024-04-27 17:24:08 浏览: 169
Maven报错: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources
这是一个编译错误,看起来是你的代码中的某些文件无法找到或不兼容 Unity 版本所导致的。具体而言,错误信息指出了两个 #error 指令,提示当前 Unity 版本不支持。还有一个致命错误,指出找不到 'icalls/mscorlib/System/MonoType.h' 文件。
你可以尝试以下几个步骤来解决这个问题:
1. 确认你的代码是否与 Unity 版本兼容,如果不兼容,需要更新代码或降级 Unity 版本。
2. 确认 'icalls/mscorlib/System/MonoType.h' 文件是否存在,如果不存在,需要检查代码中是否有错误的路径或文件名拼写错误。
3. 检查代码依赖项是否正确配置,包括头文件路径、库文件等。
4. 如果以上步骤都没有解决问题,请尝试重新构建项目或清除构建缓存。
希望这些步骤能够帮助你解决问题。
阅读全文