game-ci / unity-builder

Build Unity projects for different platforms
https://github.com/marketplace/actions/unity-builder
MIT License
858 stars 253 forks source link

Build fails in action despite working on local machine and worker log says "Build succeeded" #535

Closed Podden closed 1 year ago

Podden commented 1 year ago

Bug description

My WebGL Build works on my local windows machine but fails on ubuntu-latest action. The log says "Build succeeded" and seems to work fine but the last output is "[error]There was an error building the project. Please read the logs for details." The logs says after the Unity build is succeeded that my mono runtime and class libraries are out of sync but I don't know what that means. Maybe this produces the error in the end?

Expected behavior

Build works on Github Actions worker

Additional details This is a webGL project with local addressables on Unity 2022.2.15

logfile.txt

ngoisaoquay commented 1 year ago

I got the same error, any solution for this?

ShiroKatake commented 1 year ago

same for me too. This is happening with 2022.3.4f1. Windows and Mac are building just fine, but not WebGL. I don't know how it happened. Granted this was previously 2021.x, and it was recently upgraded, but I took heed of the warning and cleared the cache and redid the verifications

The link to our log is here https://github.com/WeAreBrian/project-fox-poc/actions/runs/5803014236/job/15730367404#step:4:1

Sonorpearl commented 1 year ago

Could this also be this issue? https://github.com/game-ci/unity-builder/issues/563

AndrewKahr commented 1 year ago

Try updating to v4, there were changes to build result checks