A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
I had the same issue on Unity 2018.4
I was able to fix this by manually calling AssetDatabase.Refresh() at the end of my build script, before...
Also running across the same issue, is there any way to prevent the AssetDatabase.Refresh?