Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Headless (no-graphics) option through python LLAPI

Discussion in 'ML-Agents' started by rudisillb, Jul 2, 2023.

  1. rudisillb

    rudisillb

    Joined:
    Mar 31, 2019
    Posts:
    3
    Hello! I was wondering if its possible to pass a no-graphics flag through the LLAPI. I couldn't find anything about this on the documentation and the suggested solution is to build the project as a dedicated server, but I can't find where to install the Dedicated Server Support for Linux. If there is a way set the no-graphics flag in the configuration_parameters let me know, thanks.
     
  2. yuvalstn-ception

    yuvalstn-ception

    Joined:
    Mar 2, 2023
    Posts:
    2
    try this in your python code:
    env = UnityEnvironment(file_name=path, no_graphics=False,)