Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown option when building unity project for webgl on aws cloudrunner #560

Open
dev-rsh opened this issue Aug 21, 2023 · 1 comment
Open

Comments

@dev-rsh
Copy link

dev-rsh commented Aug 21, 2023

Hello
I am using unity-builder to build my unity project for webgl target platform.
Currently I am encountering problems with the build itself. The build outputs the following error

Error: error: unknown option '--logFile'

I'm following the official documentation and the configuration that I'm using in my workflow is as following:

      - uses: game-ci/unity-builder@cloud-runner-develop
        id: aws-fargate-unity-build
        env:
          UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
          UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
          UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}        
        with:
          providerStrategy: aws
          targetPlatform: WebGL
          gitPrivateToken: ${{ secrets.GH_TOKEN }}
          containerCpu: 4096
          containerMemory: 8192

Is there any problem with my configuration? any help would be greatly appreciated! Thanks!

@cloudymax
Copy link
Member

cloudymax commented Oct 29, 2023

I'm seeing this as well on self-hosted k8s. Looks like this error is preventing jobs/pods from knowing when the build has finished.

 cache key  selection                                                                   
│ ::warning::cache item  doesn't exist /data/34-webgl-ggu0/repo/Library                        
│ [Client] RunCustomHookFiles: before-build                                                   
│ [Client] {                                                                                   
│     "errno": -2,                                                                             
│     "syscall": "scandir",                                                                    
│     "code": "ENOENT",                                                                        
│     "path": "/data/34-webgl-ggu0/repo/game-ci/hooks"                                         
│ }                                                                                            
│ game ci start                                                                                
│ error: unknown option '--logFile'
Screenshot 2023-10-29 at 12 26 50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants