Running TriLib in Headless Mode

De TriLib
Ir para navegação Ir para pesquisar

When running Unity Editor in Headless Mode, you must define the Material Mapper TriLib is going to use.

To do that, pass it with the "-trilib_mappers" command-line argument.

Ex:

UnityEditor.exe -batchmode -trilib_mappers StandardMaterialMapper

Possible values are:

  • StandardMaterialMapper
  • HDRPMaterialMapper
  • UniversalRPMaterialMapper
  • Or any other Material Mapper asset you included in your Project.