Search Unity

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:
    209
    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:
    50
    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!
     
unityunity