Search Unity

Bug ARM 64 build fail UnityEngine.Purchasing.Security.dll

Discussion in 'Android' started by puppetisto, Aug 3, 2021.

  1. puppetisto

    puppetisto

    Joined:
    Jun 21, 2020
    Posts:
    14
    Hi all,

    We are stuck and asking for some help with our local build failure issue.

    Using Unity 2020.3.14f1.713, trying to build to Android.

    Our local builds were working fine when we were building using the MONO scripting backend for ARMv7 only. However, now that we have switched to IL2CPP and enabled ARM64 we are getting a persistent error about a missing file.

    (0,0): error System.IO.FileNotFoundException: Could not find file "/Users/seancawelti/Desktop/PROJECTZ/Bitbucket/Kaidan_Project_Alone_12_31/Library/ScriptAssemblies/UnityEngine.Purchasing.Security.dll"

    We do have that file in our system although it is located in the library/PlayerScriptAssemblies folder and not the /ScriptAssemblies folder.

    Even strange is that when we manually make a copy of the file and place it in the ScriptAssemblies folder the build will delete the file from the folder.

    We have tried uninstalling and installing the IAP purchase asset package and a number of other things and are coming up empty-handed. The issue also tracks across multiple machines for our team working on the project.

    The Unity Cloud Builds are working fine also.