Skip to content

Configuration option "enableGpu" not working on self hosted MacOS runner #525

@VanSlambrouckJonas

Description

@VanSlambrouckJonas

Bug description

Our application needs to build with GPU enabled because we use a package "Vector Graphics". When GPU is not enabled the svg conversion does not work while building. Here is a quote form the docs ->
Note that the package may not import asset properly when starting Unity with the -no-graphics command-line argument. The package requires graphics when importing assets in texture format, since it will need to render the vector content into the texture asset.

Steps to reproduce

  1. Start a Unity project with the Vector Graphics package.
  2. Use an svg in the project that get's converted to a sprite by the package.
  3. Use the following parameter "enableGpu: true"
  4. Run the action on a self hosted MacOS runner.
  5. See "-nographics" gets logged.

Expected behavior

"-nographics" not getting logged indicating the build uses GPU.

Additional details

It seems like "-nographics" get's loggen for iOS and Android builds but weirdly anough, the android build itself looks fine (including svg sprite assets)

Package -> link

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