Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Bug [2021.2.12f] Android build - [*]-FeaturesChecked.txt failed

Discussion in 'Editor & General Support' started by JammiK, Feb 21, 2022.

  1. JammiK

    JammiK

    Joined:
    Jun 29, 2017
    Posts:
    5
    After updating to 2021.2.12f android builds fail with this error:

    Code (CSharp):
    1. Building Library/Bee/artifacts/Android/Features/IR.Logic.Interfacess-FeaturesChecked.txt failed with output:
    2. System.NullReferenceException: Object reference not set to an instance of an object.
    3.    at System.SZArrayHelper.GetEnumerator[T]()
    4.    at System.IO.File.InternalWriteAllLines(TextWriter writer, IEnumerable`1 contents)
    5.    at System.IO.File.WriteAllLines(String path, IEnumerable`1 contents)
    6.    at System.IO.File.WriteAllLines(String path, String[] contents)
    7.    at NiceIO.NPath.SystemIOFileSystem.File_WriteAllLines(NPath path, String[] contents)
    8.    at NiceIO.NPath.WriteAllLines(String[] contents)
    9.    at PlayerBuildProgramLibrary.FeatureExtractor.Run(CSharpActionContext ctx, Boolean ignoreSystemDlls) in /Users/bokken/buildslave/unity/build/Editor/IncrementalBuildPipeline/PlayerBuildProgramLibrary/FeatureExtractor.cs:line 40
    10. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
    Is it bug or maybe I do something wrong?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    39,571
    First thing to do is make a blank project, one scene, and make sure that builds.

    If it does not build then nothing will build.

    If it builds then there's something in your project you can track down.

    Either way, you gain intel about what's going on. The android build messages are often useless this way, unless you can figure out exactly how to ferret out what Gradle is complaining about.
     
  3. JammiK

    JammiK

    Joined:
    Jun 29, 2017
    Posts:
    5
    UPD: It was silicon Unity version. Intel version built success
     
    Kurt-Dekker likes this.