Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by GilFerraz · Jul 02, 2016 at 11:24 PM · compile-error

IL2CPP compilation failed

Hi :) I recently compiled my project in IL2CPP and it gave me this compilation error. Is this my fault, am I doing something wrong, or is it a bug?

Thank you :)

Failed running C:/Users/gilfe/AppData/Local/Android/android-ndk-r10e/toolchains/llvm-3.6/prebuilt/windows-x86_64/bin/clang++ -c "Temp/StagingArea\Il2Cpp\il2cppOutput\Bulk_Generics_0.cpp" -o "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_0.o" --sysroot "C:/Users/gilfe/AppData/Local/Android/android-ndk-r10e/platforms/android-9/arch-arm" -gcc-toolchain "C:/Users/gilfe/AppData/Local/Android/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64" -target armv7-none-linux-androideabi -Os -g -DNDEBUG -fno-limit-debug-info -fPIC -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -std=c++11 -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -mfpu=neon -I "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\bdwgc/include" -I "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\libil2cpp/include" -I "Temp/StagingArea\Il2Cpp\il2cppOutput" -I "C:/Users/gilfe/AppData/Local/Android/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include" -I "C:/Users/gilfe/AppData/Local/Android/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/backward" -I "C:/Users/gilfe/AppData/Local/Android/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include"

Temp/StagingArea\Il2Cpp\il2cppOutput\Bulk_Generics_0.cpp:2412:3: error: member access into incomplete type 'GameObjectU5BU5D_t3057952154' IL2CPP_ARRAY_BOUNDS_CHECK((((GameObjectU5BU5D_t3057952154)L_15)), L_16); ^ C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\libil2cpp/include\codegen/il2cpp-codegen.h:447:44: note: expanded from macro 'IL2CPP_ARRAY_BOUNDS_CHECK' if (((uint32_t)(index)) >= ((uint32_t)(a)->max_length)) il2cpp::vm::Exception::Raise (il2cpp::vm::Exception::GetIndexOutOfRangeException()); \ ^ Temp/StagingArea\Il2Cpp\il2cppOutput\Bulk_Generics_0.cpp:43:8: note: forward declaration of 'GameObjectU5BU5D_t3057952154' struct GameObjectU5BU5D_t3057952154; ^ Temp/StagingArea\Il2Cpp\il2cppOutput\Bulk_Generics_0.cpp:2414:78: error: member access into incomplete type 'GameObjectU5BU5D_t3057952154' GameObject_t1756533147 L_18 = ((((GameObjectU5BU5D_t3057952154*)L_15)))->GetAt(static_cast(L_17)); ^ Temp/StagingArea\Il2Cpp\il2cppOutput\Bulk_Generics_0.cpp:43:8: note: forward declaration of 'GameObjectU5BU5D_t3057952154' struct GameObjectU5BU5D_t3057952154; ^ 2 errors generated. UnityEngine.Debug:LogError(Object) NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60) NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26) UnityEditor.Android.c_AnonStorey2:<>m7(String) cAnonStorey70`1:<>m_F6(Object) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:89)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

58 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

CommandInvokationFailure: Failed to re-package resources 0 Answers

Help me with error CS1525: Unexpected symbol `the' 1 Answer

When using preprocessors, Unity throws errors 1 Answer

Unity 5 batch mode - CS0246 'UnityEditor' could not be found. 0 Answers

Cloud Build 20 errors, some connected with Unity Testing Tool 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges