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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

[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,198
    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.