Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Enter the 2020.2 Beta Sweepstakes for a chance to win an Oculus Quest 2.
    Dismiss Notice

Unity.Tiny.TinyBuildOptions.Project does not exist.

Discussion in 'Project Tiny' started by Kobusvdwalt, Jan 10, 2019.

  1. Kobusvdwalt


    Jul 8, 2012
    Hello all,

    I basically want to know what project is currently loaded. And if possible the path to that project.

    I am using the pipeline described here :

    At the bottom of the documentation it is written "... and Unity.Tiny.TinyBuildOptions.Project properties." But the TinyBuildOptions.Project field does not exist.

    So any ideas on finding out which project is currently loaded in the build process ?

    Thanks in advance,
  2. etienne_unity


    Unity Technologies

    Aug 31, 2017
    Hi @Kobusvdwalt

    The currently loaded Tiny project build option can be retrieved using the TinyBuildPipeline.
    WorkspaceBuildOptions property.

    TinyBuildPipeline.LoadProject(projectPath) takes an AssetDatabase path, e.g. "Assets/MyProject/MyProject.utproject".

    We've kept the Tiny Editor API internal by design for now, so you can't access the TinyProject object directly. The only public API exposed at the moment enables developers to build a project in batch mode, which is useful in a continuous integration / deployment context - but programmatically authoring a TinyProject is not exposed yet, mostly because this API will change at lot in the next few releases.