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. Dismiss Notice

Prefab mode vs in scene Prefab editing

Discussion in 'Editor & General Support' started by Lorrak, Oct 26, 2021.

  1. Lorrak

    Lorrak

    Joined:
    Sep 17, 2019
    Posts:
    38
    Hello,
    I have prefab, as example, simple cube with attached script, script has simple [Serialized] List<Materials> list,
    I open my prefab from project window, and it opens the prefab's edit mode, I add materials from there to the list

    If I instantiate the prefab no materials shows up, but if I drop the prefab into the scene, then add materials to the list and click override prefab, then it saves all the materials and it shows up after I instantiated it.
    Why doesn't it saves all attached materials in the prefab mode ?
    Auto save is checked in prefab mode
    Unity 2020.3.18f1
     
  2. Lorrak

    Lorrak

    Joined:
    Sep 17, 2019
    Posts:
    38
    anyone?