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 Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Discussion What's the best way to serialize "reference" to prefab?

Discussion in 'Editor & General Support' started by aguskos, Nov 3, 2022.

  1. aguskos


    Jan 17, 2017
    How do you serialize reference to prefab?
    Some ways to do this
    Having SO with prefabs and access them by some id and saving this id.
    Having prefabs in resources folder and save path than load
    Using addressables and custom serialization to save addressable to string than load it.
  2. karmdeepdarbar0001


    Sep 22, 2021
    I made reference to my object but i can not get excess to that object data in my input field