Adding command option to targets executables

Hi!
Players running Linux have a hard time when running my game and need to add the “-force-vulcan” option
to their command when launching the game for it to run. It seems to be a prerequisite for linux users running my game.

Is there any way for me to add that on Cloud Build for my Linux Targets? So that they wouldn’t have to do it themselves?

I tried looking through the list of environmental variables, but it didn’t seem like there was one that would allow it. The documentation in general seems a little lacking.

Thanks

Have you tried this?

  • Open your Unity project and go to Edit → Project Settings → Player.

  • In the Player Settings window, navigate to the Other Settings section and expand the Rendering section.

  • Check the box next to “Automatic Graphics API” to enable it.

  • Click the “+” button to add a new API and select “Vulkan” from the dropdown menu.

  • Set the order of the APIs by clicking the up/down arrows next to each API. Make sure that Vulkan is at the top of the list.

  • Save the changes and build your project.