Search Unity

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:
    38,689
    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.