Blog

PlayModePersist – Unity Asset Store

January 11, 2011 by Devin Reimer

Have you ever wanted to make changes to a component in Unity while in Play mode and have them persist after you click stop? Have you ever accidentally made changes to a component while your game was playing and wish they could be saved?

After a lot of hard work I’m happy to announce ‘PlayModePersist’ is now available in the Unity Asset Store.

This Unity extension allows you to select which components on individual GameObjects you wish to persist and they will save automatically the moment you hit stop. No needed to copy and reapply your changes, no worrying about a “clipboard” being full. You are not limited to saving one component or one GameObject, you can persist as many component from as many GameObject as you would like.
Works with all component with script access including, Transform, Rigidbody, Physics Colliders and Joints, etc. Also supports custom built components. Complete list of supported components.

This feature is currently the #3 most requested editor feature and #10 most requested overall on feedback.unity3d.com.

Best of all it is easy to use, while in Play mode just click the ‘PlayModePersist’ dropdown below the Transform title in the inspector and click the checkboxes for the component you wish to persist. Once you click stop their current state will be persisted.

Please use the comment section below to let me know what you think. Also giving it a rating in the Unity Asset Store would be greatly appreciated.

Note: If you don’t know how to use/access the Unity Asset Store, simply open up Unity, click Window->Unity Asset Store. You can find this item under ‘Extensions’.

Update: New link to PlayModePersist: http://u3d.as/content/almost-logical-software/play-mode-persist/1tS

Special thanks goes out to Kevin Evans for his work that went into this extension.

25 Responses to "PlayModePersist – Unity Asset Store"

  1. Wow! I’ll definitely be checking it out. Thanks

  2. GTJuggler says:

    Looks super-useful. Great job.

  3. Definitely a nice addition to the Unity editor. I’m surprised the Unity team hasn’t added this feature a long time ago. Good work and thanks!

  4. Matte says:

    Love this tool! Would love it even more if there was an option to have the drop down automatically open, or a “lite” version where the “save all” toggle is always seen i.e. not hidden beneath the fold of the arrow.

  5. Devin Reimer says:

    Hi @Matte,

    I’m glad you like the tool. If you hit Alt-Shift-O that dropdown will open without needing to click it. Also if you hit Alt-Shift-P, the dropdown will open and save all will be auto-checked. This will help you not having to click around.
    All that said stay tuned, we are working on a pretty big update that will make PlayModePersist even more awesome.

  6. Palamas says:

    Any idea if this would work with settings in a playmaker fsm?

  7. Devin Reimer says:

    Hi @Palamas,

    The newest version of PlayModePersist was redesigned to not conflicted with other 3rd party tools. If Playmaker uses standard component properties then it should work. As I have not tried this myself I can not say for sure.

  8. christophe Floutier says:

    Hello
    This tool is really one of the best i used for years.
    But it does not work anymore on unity 4.3 !!!!

    Is there any walkaround ?

    • Devin Reimer says:

      @Christophe, PlayModePersist does work with Unity 4.3. Make sure that you have updated to the latest version in the Unity Asset Store. I’ve sent you an email to make sure you can get up and running.

  9. Thanks for one’s marvelous posting! I certainly enjoyed reading it,
    you may be a great author.I will always bookmark your blog and definitely will come back sometime soon. I want to encourage
    continue your great job, have a nice evening!

  10. It is surely a keyword tool that take your business to the
    next level. If you want your article to be on page among 16,
    500,000, “make money online” isn’t best keyword to
    use. These notifications will help you manage your brand better and give you information regarding your competition, industry
    and potential new business.

  11. Clodo says:

    I love this asset. But maybe work well: every time i start and stop my scene, objects like ‘HOTween’ and many ‘One shot audio’ are permanently added to the scene. There are any options about the default behiavour of dynamic-created objects? Thanks.

  12. PhilllChabbb says:

    Hello Devin,

    Is it possible to make the PM Persist NOT Pop-up when you play in Maximize On Play mode? Having to close it down each time is a bit of a nuisance in my current set-up, but understand this feature is a nice one. Is it possible to turn it off? Maybe a toggle? REALLY love this asset, can’t even begin to imagine how much time I saved with this. <3

    Phil

    • Devin Reimer says:

      Yes, I will look into finding a fix for that issue (appears to be new to Unity 5). In the mean time simply delete ‘PPAutoOpen.cs’. The only downside is if you close PlayModePersist you will just need to relaunch it by going ‘Window/PlayModePersist’

  13. Hi! Is there any way to keep the prefabs I add to the scene in play mode? I bought the plugin but I’m only able to keep the variables I change in the inspector (including transforms) but I need to add new 3d models as well, and that objects are erased when I press stop.

    • Devin Reimer says:

      Hi Carlos,

      Any new prefab added during playmode can not be saved. This is a limitation of the way Unity works. That said if you add the prefabs to your scene before playmode you can totally do what you need to.

  14. SmokeMeAKipper says:

    Any chance of releasing a version compatible with Unity 5? Love to get a hold of this.

  15. Afrilaid says:

    Sadly, this asset was removed from the store..
    But I found a new one which does the same:
    https://www.assetstore.unity3d.com/#!/content/59009

  16. Appreciating the persistence you put into your website and detailed
    information you present. It’s awesome to come across a
    blog every once in a while that isn’t the same
    unwanted rehashed information. Wonderful read! I’ve saved your site and I’m adding your RSS feeds to
    my Google account.

Leave a response