Skip to content

Allow specifying the use of a file extension for StandaloneLinux64 #722

@kitlith

Description

@kitlith

Context

Currently, when building a game for StandaloneLinux64, this action will produce an executable without a file extension. This is fine, but is a mismatch for what the unity editor will do by default (produces an executable with the extension .x86_64), may cause some packages to build incorrectly (ValveSoftware/unity-xr-plugin#139), and technically violates unity's (only recently?) documented build path requirements.

Considered solutions

Keeping in mind that other people may be relying on this lack of a file extension, we cannot simply change the default without possibly causing breakage.

The least configurable option would be to add a parameter bikeshedLinuxUseFileExtension: true with a default to false which causes the file extension to be .x86_64 when building for StandaloneLinux64. (or as appropriate for StandaloneLinux32/older versions of unity.) In the future, it may be viable to flip the default.

Another option would be to add a parameter bikeshedLinuxFileExtension: string which sets the file extension, allowing the user to configure it to anything.

Considered alternatives

Fixing ValveSoftware/unity-xr-plugin#139 upstream or downstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions