Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Don't care about Android. Why the IL2CPP Warnings? (Unity 2018.1.0f2)

Discussion in 'Editor & General Support' started by Multox, May 5, 2018.

  1. Multox

    Multox

    Joined:
    Jan 22, 2013
    Posts:
    3
    Every time I edit a script or hit the play button I get a warning from Unity saying that the NDK version is incompatible with IL2CPP. I don't care - I'm not building an Android game. How do I get it to stop bugging me?

    I have the NDK on my machine for other reasons and cannot downgrade it.

    I have tried blanking out all of the Android fields in Edit->Preferences->External Tools. The SDK directory keeps coming back on it's own though. This warning never happened before Unity 2018.
     
    Last edited: May 13, 2018
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,762
    Can you provide the specific warning message here?
     
  3. Multox

    Multox

    Joined:
    Jan 22, 2013
    Posts:
    3
    Error message is as follows:
    =====================================
    Invalid NDK version

    NDK 12.1.2977051 is incompatible with IL2CPP. IL2CPP requires r13b (64-bit) (13.1.3345770).
    =====================================
     
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,762
    It does seem wrong that the Android NDK is checked when this is not an Android build. In the Build Settings, what platform is the active one?
     
  5. Multox

    Multox

    Joined:
    Jan 22, 2013
    Posts:
    3
    The Unity symbol is by PC, Mac & Linux Standalone. I have it set to Windows x86_x64.

    I did choose several platforms when I first created the Unity project in the wizard. (A prior version of Unity.) At the time I was thinking that maybe I'd want to have the game on a phone one day. However, for now I would love to ditch Android everything to get rid of this nagging message.
     
  6. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,762
    Can you submit a bug report with the project that causes this issue? It certainly sounds like a bug.
     
  7. altepTest

    altepTest

    Joined:
    Jul 5, 2012
    Posts:
    1,048
    I have the same issue Unity 2018.1.2f1 Personal.

    NDK 12.1.2977051 is incompatible with IL2CPP.
    IL2CPP requires r13b(64-bit)(13.1.3345770).

    The project build settings is set to PC, Mac, Linux Standalone

    there is no NDK path set in the Android SDK setup window in preferences

    Just updated to 2018 from 2017

    this error appears each time I open a project or hit play in the editor. I hit ok and it continues then is back

     
  8. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,762
    Can you submit a bug report?
     
  9. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,419
  10. altepTest

    altepTest

    Joined:
    Jul 5, 2012
    Posts:
    1,048
    ok, thank you, I will try following the guide, where do I actually submit the report