Open LetrixZ opened 6 years ago
Same with 2017.2.1.
Just ran into this as well - any suggestions for a temporary workaround?
Me too... I was in hurry and I exposed through a script all the DOF elements of post processing profile in a script, then I created two inspectors, one locked to the PostProcessing Profile referenced, one on the dof update script, then I setup the Profile DOF and in the Timeline I updated the script with the corresponding values... It's a real pain, but I'm in hurry and I need to go for it!
I had the same problem, it turned out to be execution order. Make sure the PostProcessingController script is executed first in the script execution order settings.
After this you will find that the settings do not update in edit mode. Modify the PostProcessingController script as follows:
`#if UNITY_EDITOR using UnityEditor;
namespace UnityEngine.PostProcessing.Utilities {
[ExecuteInEditMode]
[RequireComponent(typeof(PostProcessingBehaviour))]
public class PostProcessingController : MonoBehaviour
{
`
I note that PostProcessingControllerEditor.cs contains many lines like this:
if (isPlaying && _controlScreenSpaceReflection.boolValue)
if you strip the isPlaying part then it works in the editor.. not sure why the isPlaying check was put here?
I have added to main camera but when I toggle any control enabler, does nothing. Changing animation values also does nothing.