Building app stuck on Build Player

Hello,

I’m building my app to aab for testing and it’s stuck on Build Player. I’ve done a few things but it didn’t work. A few threads I could find spoke about Lighting settings causing the issue but disabling Auto Generate Lighting hasn’t worked.

I have Google Play Services installed as well as Unity Ad support. I have done this before without any issue.

There is no errors in the console and no indication that something is wrong.
Thank you.

Could you attach Editor.log.

A longshot but some people were reporting that BitDefender was interfering with il2cpp, maybe you have BitDefender?

Thank you for getting back so soon. I’m not using BitDefender or any Anti Virus software.
Shall I just copy and paste the entire log in?

Please use the Upload a File button.

Oh yes, sorry. Didn’t see that.

8029589–1035029–Editor.txt (24.3 KB)

The log doesn’t contain entries that you’ve started the build. Try copying the Editor.log when the build is stuck. Since if you reopen the Unity, the log gets reset.

Ahh, okay. Sorry I haven’t had to use the log yet.

I got this log when it was stuck. Hopefully this is correct.

8030774–1035335–Editor.txt (41.1 KB)

It says

UnityException: Can not sign the application
Unable to sign the application; please provide passwords!

and the build then fails

Hi I am having same issue. here is my log.

8514626–1134995–Editor.log.zip (8.64 KB)

There’s no build error in your log

Yes I tried looking. What could be the issue? This project has been updated from 2017 to 2021 LTS.

What issue are you exactly having, since log doesn’t contain errors?

It’s the same as title. I start the build and it get’s stuck on Build Player.Also I can’t create another bug report on Atlassian as my 1 bug report is already in review for weeks and haven’t heard anything from anyone over there.
let me know what to send you so you would know more about issue.

For some reason it started working now, and now the build is giving me this error.

8520308–1136210–Editor 2.log.zip (738 KB)

Here is the screenshot.

When I copied the project from External SSD to system SSD, It started building. So it was a file writing error. I wished all would have just worked because I was working fine in the editor, didn’t get any write error there.

I know people used external SSD successfully in the past, I am not sure why it’s failing for you, maybe there are errors on the disk.

Alternatively you could try submitting a bug to Unity https://unity3d.com/unity/qa/bug-reporting

I am having this issue, does anyone have a solution?

Check if you have JAVA_HOME set and java binary is in your PATH