Skip to content

When using Build Profiles the AndroidExportType sets the file target and can conflict #714

@alexeSGN

Description

@alexeSGN

Issue
When using Build Profiles with Android builds the AndroidExportType must be set.
This can result in a Build Profile targeting a bundle when the AndroidExportType is a package. unity-builder sets the output file as an apk.
When the build profile and the outfile file type are mismatched we will hit a Gradle failure when trying to process the final build output.

How to reproduce
Specify a Build Profile with Bundle output, and AndroidExportType set to androidPackage

Expected behavior
The Build Profile should either ignore or override the AndroidExportType.
Simplest fix overrides that in the Builder, proper fix would be to ignore invalid params to the Unity invoke for Build Profiles.

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