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. We are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here: unity.com/legal/terms-of-service.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    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:
    226
    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!
     
unityunity