Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Unity.Tiny.TinyBuildOptions.Project does not exist.

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

  1. Kobusvdwalt

    Kobusvdwalt

    Joined:
    Jul 8, 2012
    Posts:
    4
    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 :
    https://docs.unity3d.com/Packages/com.unity.tiny@0.13/api/Unity.Tiny.TinyBuildPipeline.html

    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,
    Kobus
     
  2. etienne_unity

    etienne_unity

    Unity Technologies

    Joined:
    Aug 31, 2017
    Posts:
    47
    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.