Search Unity

[SOLVED] How to disable auto-save feature from inside the Prefab edition scene?

Discussion in 'Prefabs' started by Rockaso, Dec 22, 2019.

  1. Rockaso

    Rockaso

    Joined:
    Oct 31, 2016
    Posts:
    85
    The new focused prefab scene it's cool because it let's you modify the prefab in an isolated space.

    The problem is every time you make a change to it like adding a new child gameobject or moving them, it takes about 1 or 2 seconds to auto-save which makes you lose lots of time if you want to make several modifications like that.

    Is there any way to disable that auto-saving feature?
     
    PersianKiller likes this.
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,338
    There's a toggle in the upper-right corner of the scene view
     
  3. Rockaso

    Rockaso

    Joined:
    Oct 31, 2016
    Posts:
    85
    Rofl, it was there. You rock, thanks for pointing it out :)
     
    vorlex_p likes this.
  4. Iron27

    Iron27

    Joined:
    May 5, 2014
    Posts:
    11
    But now you can't see your mods in Game view in real time. I prefer the old format if this is the tradeoff.
    Focused prefab is cool in theory, but having to pick between 1 to 2 seconds of lag on every minor UI adjustment or no realtime preview in Game pane is really bad.

    Good chance I'm missing something. Anyone know a workaround?
     
  5. Reahreic

    Reahreic

    Joined:
    Mar 23, 2011
    Posts:
    254
    Is there a way for me to do this programmatically? I really only have issue with one particular custom editor. When I select it (OnEnable) I'd like to disable autosave while working within it, then when deselected (OnDisable) turn autosave back on again and save the changes.
     
  6. NetEdge

    NetEdge

    Joined:
    Jun 3, 2020
    Posts:
    2
    I, too, would like to know if there's a way to disable it through a script. Particularly in Unity 2019 LTS.
     
  7. CSNomadProductions

    CSNomadProductions

    Joined:
    Mar 4, 2020
    Posts:
    12
    You are a saint. Thank you!
     
    vorlex_p likes this.
  8. khaled-khalil

    khaled-khalil

    Joined:
    May 29, 2021
    Posts:
    1
    does this work for unity 2022 or later?