Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Feedback For Further aarch64(M1) Support, We need Android NDK 24

Discussion in '2022.2 Beta' started by koiq, May 15, 2022.

  1. koiq

    koiq

    Joined:
    Nov 1, 2018
    Posts:
    2
    According to the change log,
    Unity 2022.2 is upgrading NDK to 23b(23.1.7779620)

    It's only one step more upgrade to 24. First M1 native supported NDK.
    Compiling with rosetta is so much pain.

    Please unity, can you reconsider to support NDK 24?
     
  2. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,167
    The answer is - not this time.

    r23 is an LTS so we are expecting more support from Google in case issues arise. We admit that native M1 support is important though.

    It took me ~5 months from "I have a green build on my branch on CI" to "change landed into Unity alpha and works fine". Moreover, I'm currently in the process of fixing some follow-up issues, including codegen bugs in LLVM. So unfortunately it's not as straightforward as "change the link to a new NDK".

    2022.2 (and the 2022LTS) is planned to stay on r23b. Next upgrade may happen some time next year, but it's not planned yet.
     
    mahdi_jeddi likes this.
  3. koiq

    koiq

    Joined:
    Nov 1, 2018
    Posts:
    2
    Hello, Thanks for your response.
    Is upgrading from 23b to 23c is an option?

    It turns out for M1 build support, 23c version should suffice.
    https://github.com/android/ndk/wiki/Changelog-r23#r23c
     
  4. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,167
    @koiq I'm afraid you may be misreading the release notes: r23c only fixes ndk-build, make and shader-tools for M1 - but Unity uses nothing from this list.


    On the contrary, r24 has this entry
    • Issue 1544: LLVM tools are now universal binaries.
    which is what matters.
     
    koiq likes this.