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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug Unity Build Bug mapping new.... error

Discussion in 'Editor & General Support' started by MrBear666, Sep 10, 2022.

  1. MrBear666

    MrBear666

    Joined:
    Dec 6, 2021
    Posts:
    73
    Im trying to solve this error more then 10 hours i tryed a lot of things but nothing is working.

    UNITY VERSION IS: 2021.3.9f1

    -I downloaded SDK 31, 32, 33 none of them worked.
    -I completely deleted Unity and reinstalled it with every file.
    -I changed scripting backend
    -And tryed some of youtube videos which i dont remember what i did there.

    Nothing is working when i build game like that i cant open it in device it shows black screen only.

    Not: ignore shader errors it's not relevant i think.

    upload_2022-9-11_0-24-52.png
    Here is my external tools tab
    upload_2022-9-11_0-28-45.png
    Here is my project settings
    upload_2022-9-11_0-30-4.png
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    29,803
    Android build not building:

    Recently (circa July 2022) there have been reports of Unity's installer failing to install the Android Tools.

    https://forum.unity.com/threads/cant-build-for-android.1306098/

    If it's not that, then here's how to troubleshoot:

    First, make a blank project with a single blank scene and prove that it builds successfully.

    If it does NOT build, then go fix your Unity installation, or your other tools, such as Android SDK, NDK, JDK, etc.

    Until you can build a blank project to the target platform, don't fiddle with anything else.

    Once you can build a blank project, now bisect the problem by bringing over parts of your current project and building it one subsystem at a time, perhaps stubbing things out that might trigger compiler errors.

    Most often things that prevent building are third-party libraries such as Firebase.

    Once you identify the subsystem, go to the documentation for it and make sure you are doing it correctly.

    It may also be helpful to work through a tutorial or two for that subsystem.
     
  3. MrBear666

    MrBear666

    Joined:
    Dec 6, 2021
    Posts:
    73
    I did that


    Right, this is it. I was able to build it. Copy all folders and files inside cmdline-tools, create a new folder called Tools inside AndroidPlayer folder and paste there.

    from the link you send and it worked sir thank you!
     
  4. MrBear666

    MrBear666

    Joined:
    Dec 6, 2021
    Posts:
    73
    Oh no problem is not solved it come again...
    i will try to update 2022 version now
     
  5. MrBear666

    MrBear666

    Joined:
    Dec 6, 2021
    Posts:
    73
    And same thing in empty project to...
    upload_2022-9-11_1-15-8.png