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

Cinemachine not saving in Play mode even with the option on

Discussion in 'Cinemachine' started by AhSai, Mar 21, 2019.

  1. AhSai

    AhSai

    Joined:
    Jun 25, 2017
    Posts:
    129
    The Save During Play function of my Cinemachine suddenly does not work anymore no matter what I do. It work perfectly fine if I start a new project, apparently it only affects my current project. I don't know what I have done to it. It doesn't turn back to normal even if I restart Unity. Please help.
    I am using Unity 2018.3.9f1, Cinemachine 2.2.8
     
    DChap_Salty likes this.
  2. AhSai

    AhSai

    Joined:
    Jun 25, 2017
    Posts:
    129
    To add to the issue, "Copy" and "Paste" component properties also stopped working for both Play mode and Non Play mode as well.
     
  3. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,268
    Well, this is very strange. Have copy and paste stopped working for all components, or just CM components?
     
  4. AhSai

    AhSai

    Joined:
    Jun 25, 2017
    Posts:
    129
    For copy and paste, I am only able to copy and paste values not in a grey box, such as Priority, Follow, Look At, FOV etc. But anything in a grey box, such as Body, Aim, Noise, the Virtual Camera Children box in State Driven Camera are not copy and pasting.

    As for Save During Play function, it just stopped working completely as if it is unchecked.
     
  5. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,268
    hmmm... if you can't reproduce this in another project, then there isn't a whole lot I can tell you.
    If you want to pursue this, then maybe you can copy your project, then start deleting things until this problem goes away.
    Maybe you can revert to an earlier version of your project that didn't have this problem, and try to see what the difference is?
     
  6. benthroop

    benthroop

    Joined:
    Jan 5, 2007
    Posts:
    259
    This is happening to us too. One possibility is that we are using a multi-scene setup. I'll post if we find any fixes.
     
    Gregoryl likes this.
  7. rfriedma

    rfriedma

    Joined:
    Nov 22, 2016
    Posts:
    1
    This is happening to me as well in a multi-scene setup. Using Unity 2019.2.6 and Cinemachine 2.3.4.
     
  8. DChap_Salty

    DChap_Salty

    Joined:
    Dec 4, 2018
    Posts:
    3
    Also experiencing this on our project. Save During Play option is not saving changes when exiting play mode.

    Unity 2019.1.3.

    We are using a multi-scene setup and the scene I wanted to save camera settings in was not the active scene (if that matters).

    I'm also noticing some issues with the copy-paste technique people were talking about. It seems to not be working like it did in previous versions (where I could copy the values in Play mode, and then paste them back in when not in Play mode).
     
    Last edited: Nov 7, 2019
  9. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,268
    SaveDuringPlay doesn't work with multi-scene. It's a known issue and we will fix it in a future release.
     
    MentalGames and DChap_Salty like this.
  10. MattVLSG

    MattVLSG

    Joined:
    Apr 2, 2018
    Posts:
    43
    Same here - more often than not options changed in play mode whilst 'Save During Play' is set will not be saved when Play is stopped. This is in a single Scene. Seems all of these posts are in 2019 and recently, maybe something in CM changed?
     
  11. amynox

    amynox

    Joined:
    Oct 23, 2016
    Posts:
    172
    Any news on this ?
     
  12. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,268
    SaveDuringPlay still does not support multi-scene.

    For those who are experiencing issues in single-scene: we have not seen such issues. What specific options are not being saved?
     
  13. amynox

    amynox

    Joined:
    Oct 23, 2016
    Posts:
    172
    Aim and body values are not saved at all !!

    Copy / Past Component values doesn't work also. (on Cinemachine virtual camera only!)

    I'm using Cinemachine v 2.5.0 with Unity 2019.4.01 LTS
     
  14. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,268
    The SaveDuringPlay feature is meant for saving tweaks, not structural changes. Only field values can be saved during play. If you change the algorithm (e.g. Body from Transposer to FramingTransposer, or other changes to the Aim/Body/Noise selectors) then those changes will not be saved, because under the hood they involve adding and removing behaviours.
     
  15. sp-gillian

    sp-gillian

    Joined:
    May 8, 2019
    Posts:
    12
    Hey @Gregoryl just wondering if the fix to make this work in multi-scene setups was scheduled any time soon? It's been a year since the last post in this thread and we've just run into this issue now too. Would love to know if there was a fix on the horizon!
     
  16. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,268
    It's on our backlog, but hasn't been explicitly scheduled yet. It's not something that many people trip over. Sorry to hear that you're one of them.
     
  17. Akamis

    Akamis

    Joined:
    Nov 26, 2017
    Posts:
    7
    I am suffering from this issue too. I'm working with a multi-scene setup, and cinemachine is the main component for making cinematique and in-game camera.

    I would be a game changer if the options "Save During Play" could work with multi-scene setup.
     
  18. Creiz

    Creiz

    Joined:
    Jun 6, 2017
    Posts:
    126
    It's been a while since this thread, but I can confirm that it doesn't work on 2021.2, either.

    I have to take a screenshot of the settings then copy it back manually. I have lost perfect settings so many times.
     
    TheDelhiDuck and wondermagic like this.
  19. ShooNeyt

    ShooNeyt

    Joined:
    Oct 14, 2020
    Posts:
    1
    Hey @Gregoryl , just to inform that in the company I'm working in, not being able to save during play on multi-scene is a serious issue as camera work is a huge part of the game we're working on. Thanks for your work, I hope it will be corrected soon.
     
    antoinecharton and Gregoryl like this.
  20. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,268
    Thanks for the reminder. We've addressed this issue in CM3. Multi-scene SaveDuringPlay will be supported in the next pre-release.
     
    CC_YN and antoinecharton like this.
  21. CC_YN

    CC_YN

    Joined:
    Jul 30, 2021
    Posts:
    13
    Will CM3 be working on 2022 LTS?
     
  22. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,268
    Yes it is compatible with 2022 LTS.
     
  23. CC_YN

    CC_YN

    Joined:
    Jul 30, 2021
    Posts:
    13
    Is there any ETA of OFFICIAL CM3? I just watched the introduction video of it and was quite looking forward to it.
     
  24. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,268
    It's still under discussion. Management wants to choose the right time. I can tell you - unofficially - that it's pretty much ready and that pre.9 is solid. 3.0.0 won't be much different.
     
    CC_YN likes this.
  25. devook

    devook

    Joined:
    May 21, 2013
    Posts:
    15
    Also hitting this. Are there any known workarounds I could employ to force a save during play when working in multi-Scene projects? Whatever incantation I need to do in editor to get settings changes to propagate back has to be better than what I'm currently doing, which is screenshotting all three pages of my FreeLook camera and then transcribing back from the screenshots afterwards.