Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

PipelineAPI Sample contains embedded data, how can I get that?

Discussion in 'Unity Reflect' started by garrido86, Dec 2, 2020.

  1. garrido86

    garrido86

    Joined:
    Dec 17, 2013
    Posts:
    229
    The SampleData contains files of type SyncInstance, SyncMesh and SyncObject, I like to know how I can generate those data files for my self because I think those consume less storage than Prefab instances (also the Prefabs regularly death lock the Unity Editor).
     
  2. chafik_unity

    chafik_unity

    Unity Technologies

    Joined:
    Jun 27, 2017
    Posts:
    53
    Hi @garrido86,

    Those files are generated by Reflect publisher's plugin, like the one in Sketchup and Revit.
    To generate them, you need to use the Reflect Publisher API.

    If you already have exported a model, and want to access its Reflect data, you can either :

    1. Use the Reflect Window from the Unity Editor and import your model. (even if prefabs are generated, those are Reflect data underneath)

    2. Use the download feature in the Viewer then grab the files from the Viewer cache. In Windows, the cache folder is located in C:\Users\<username>\AppData\LocalLow\Unity Technologies\Unity Reflect\ProjectData

    Hope this helps!