-
-
Notifications
You must be signed in to change notification settings - Fork 130
Description
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
- Start a Unity project with the Vector Graphics package.
- Use an svg in the project that get's converted to a sprite by the package.
- Use the following parameter "enableGpu: true"
- Run the action on a self hosted MacOS runner.
- 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