Skip to content

Exception: Build profile's define symbol not present #742

@brianzaubar

Description

@brianzaubar

Bug description

Build Action fails with:

Error: Exception: Build profile's define symbol not present before script execution; shouldn't happen

Though I have no Scripting Symbols set and this problem was not present before 23. September and started appearing at least on the 30. September.

How to reproduce

Unity project is using version 6000.1.3f1.
This is my build job:

- name: Build project
        uses: game-ci/unity-builder@v4
        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
          UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
          UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
        with:
          buildProfile: ${{ steps.get_build_profile.outputs.build_profile }}
          sshAgent: ${{ env.SSH_AUTH_SOCK }}
          sshPublicKeysDirectoryPath: /home/runner/.ssh_docker
          targetPlatform: WebGL
          customParameters: "${{ github.event.client_payload.devRelease == 'true' && '-Development -AllowDebugging' || '' }}"

Expected behavior

Should not have any problems with scripting symbols since I am not using any custom ones.

Additional details

Error: Exception: Build profile's define symbol not present before script execution; shouldn't happen
UnityBuilderAction.Builder.BuildProject () (at Assets/Editor/Editor/UnityBuilderAction/Builder.cs:135)

Exception: Build profile's define symbol not present before script execution; shouldn't happen
  at UnityBuilderAction.Builder.BuildProject () [0x002d3] in /github/workspace/Assets/Editor/Editor/UnityBuilderAction/Builder.cs:135 

(Filename: Assets/Editor/Editor/UnityBuilderAction/Builder.cs Line: 135)


Error: executeMethod method UnityBuilderAction.Builder.BuildProject threw exception.

executeMethod method UnityBuilderAction.Builder.BuildProject threw exception.

Aborting batchmode due to failure:
executeMethod method UnityBuilderAction.Builder.BuildProject threw exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions