17 Replies Latest reply on Jan 11, 2018 2:32 AM by Clement Picon

    Expressions Not Updating?

    Marc Trzepla

      Currently running After Effects and this is on both Macintosh and Windows.


      There will be expressions that do not visually update to what the value says it is.


      Example ... layer Opacity without an expression is 0%, layer is not visible. 


      Add an expression (if/else toggle) for either 100% or 0% ... the expression will be enabled (no syntax errors) and the value colored in 'red' showing it has an expression on it ... of 0% ... but the layer will be 100% visible.   Stunner is that if I temporarily turn off the expression the layer disappears because the Opacity without an expression is 0%.  Toggle back on the expression-driven value of 0% and the layer is visible again.


      Same with position.  I have Position expressions placing items in random locations.  If I dial in new seed values I can watch the 'red' expression-enabled position value change... but the layer itself doesn't move to the new position.


      Edit -> Purge -> All Memory / All Memory & Disk Cache / Image Cache Memory has no effect.


      Many times quitting AE and opening it back up refreshes to the correct value.


      Any thoughts what's causing this?     Expressions are expressions are expressions... they return a value and the value 'should' visually reflect the numbers that correctly update in the 'red' text value field.     But don't.       





        • 1. Re: Expressions Not Updating?
          Rick Gerard Adobe Community Professional & MVP

          I can't reproduce any of the problems you are talking about. We don't have any idea what is going on in your comp. Try this. Select the layer or layers that are giving you problems and press the U key twice to reveal all modified properties. Make sure the composition is selected in the Project Panel so we can see the comp details. Print screen and then paste to the reply field on the forum. On a Mac press Shift + Ctrl/Cmnd + 3 to take a screenshot and drag it to the reply field from the desktop. Then give us workflow details so we can see what's going on. If the expressions take up more than one line then it would also be a good idea to copy and paste them to the forum. Without details I don't know what to suggest.

          • 2. Re: Expressions Not Updating?
            tristansummers Level 1

            We know that an expression value is not being displayed in the Composition viewer.

            An expression that usually works.

            We know that emptying the cache does not correct it.

            We know that sometimes restarting after effects makes the viewer refresh properly.

            That in itself is a great finding and a great mystery.

            The image is still stored in RAM somewhere?

            We know that both expressions and previews have been re-coded recently.

            As a user it is hard because we can't see behind the curtain to troubleshoot the inconsistency.

            It seems clear this is an image cache issue.

            I am trawling the forums for tips to solving this myself.

            I'm wondering about all the different cahce points in a computer, processor, RAM, where could the ghosts be hiding?

            • 3. Re: Expressions Not Updating?
              Paul Michelle Adobe Community Professional

              For anyone who saw my posts about this in their notification disregard them.  I'm a complete moron.

              • 4. Re: Expressions Not Updating?

                I use Dan Ebberts marker sync expression all the time.

                Dan Ebberts's Expressioneering Design Guide

                Long story short, its an expression that controls the time remap value of a nested composition.

                What's weird is that I can see time remap value stop changing while scrubbing through the timeline (as it should), but the layer continues to animate as though time remap is still changing. This is not a user error, its a bug. And the sooner it gets fixed the better. Thanks.

                • 5. Re: Expressions Not Updating?
                  Marc Trzepla Level 1

                  Sorry for the radio silence - my original post was the day before vacation... I was busy trying to crank out everything that was due before I left.  Didn't have time to reply.


                  Rick or anyone interested - here are screen captures of two sample expressions that don't update, the comp settings for one, and some effect sliders I used 'in' the expressions to dial in some values.


                  I did find that UN-checking the option in Preferences -> Display -> "Hardware Accelerate...Panels" helped 'a little' which makes me wonder if this is a display issue.  Bummer it didn't resolve this 100% ... stinks when things only end up a 'little' fixed, you know?


                  I'll make sure to post this to the Bug Report.


                  Expression Problem 1.jpg


                  Expression Problem 2.jpg


                  Expression Problem 3.jpg


                  Expression Problem 4.jpg

                  • 6. Re: Expressions Not Updating?
                    Szalam Adobe Community Professional & MVP

                    https://forums.adobe.com/people/Marc+Trzepla  wrote


                    Currently running After Effects and this is on both Macintosh and Windows.

                    Have you tried the 14.2.1.x update?

                    • 7. Re: Expressions Not Updating?
                      Kevin-Monahan Adobe Employee

                      Hi Marc Trzepla,

                      Sorry for this issue. Did you ever find a solution? Please let us know if our experts’ advice helped you or if you still need help.




                      • 8. Re: Expressions Not Updating?
                        Marc Trzepla Level 1

                        Kevin,Szalam -


                        No, this issue still persists.


                        However, it's a tough target to aim for since we're working under peculiar conditions.   As I understand it - the Engineering department gets some kind of pre-packaged, enterprise-level distribution of Creative Cloud that's then checked and blessed internally (by whom, I have no idea, it's a big company) and then dished out throughout the network's offices for consistency.  So unlike Home, where my personal CC subscription is up-to-date as soon as the new releases come out, I'm at the mercy of this packaging process when it comes to getting the latest and greatest dot releases.      Which may fix the issue.   I had not considered taking the projects home to test them.  Perhaps I will.


                        Thank you,



                        • 9. Re: Expressions Not Updating?
                          Kevin-Monahan Adobe Employee

                          Sounds frustrating, Marc. I know that IT admins are notoriously slow at updating creative software. That's a problem in companies everywhere, unfortunately. All you can do is continue to ask for the update as soon as it comes out. I hope that the issue has been fixed in current versions. Please let us know what you come up with in your tests, that is, if you have time.



                          • 10. Re: Expressions Not Updating?

                            I'm, also having this issue. In my case, I just have expressions linking opacity to checkboxes in a control null, which was working fine yesterday, but for some reason the values in the timeline are updating but the preview is not. Also, when I add the composition to the render queue it renders whatever was visible before the opacity values were modified when the checkboxes were toggled.


                            Restarting AE refreshes the preview to the correct values, and clearing image cache does not help.


                            Running 14.2.134. Creative Cloud says no updates for AE are available




                            • 11. Re: Expressions Not Updating?
                              tristansummers Level 1

                              I'm pretty sure it is cache not updating. Maybe a RAM issue, maybe a SSD/nvme flash refresh issue? Maybe a GPU VRAM issue?

                              What is more weird is that I have had this issue on every machine I work on, and I am feelance in a different shop each week, yet nobody at Adobe has the issue or can replicate it. Could it be a Europe 50hz only issue?!!! Could it be a CPU cache issue?


                              I have had unreliable preview on all sorts of machines. PC/MAC... SSD/HD/ioFX cache...

                              But I will say that it is SO SO worth it to get realtime playback. bring it on. iron out the bugs and keep up the good work out there on planet Adobe.

                              ps I wish you kept the old effects named and referenced the same and called the new one NEW Gaussian blur so as not to break a thousand delivered templates but hey! 

                              • 12. Re: Expressions Not Updating?

                                The workaround that works for me is to Save and the Re-open the project.

                                • 13. Re: Expressions Not Updating?
                                  tristansummers Level 1


                                  That is only useful when you notice it.

                                  But not being able to trust what you see in the comp window is kind of a big deal!


                                  It is weird how nobody seems to have spotted it, as I see it all over the place. Mac/PC latest version AE etc.


                                  The egeneral issue is that there seems to be something that means the persistant cache doesn't update. Sometimes this is flushed by restarting AE, or emptying cache, but it would be good to know some other troubleshooting tips for when this doesn't happen, or how to prevent it happening.

                                  I guess next thing is when you notice it, empty cache turn cache OFF, restart AE and see if that is what it is.

                                  • 14. Re: Expressions Not Updating?
                                    tipsyfreelancer Level 1

                                    Yeah, its a workaround, not a solution.

                                    Re-opening the project fixes it without needing to restart AE.

                                    • 15. Re: Expressions Not Updating?
                                      pegeseus Level 1

                                      FWIW I have the exact same issue and came here looking for a fix.  My code is almost identical to yours but I'm on the most recent AE version.  I have a master null that has a few checkbox controls on it controlling the visibility of a number of layers.


                                      My expression:

                                      temp = comp("EoG_brackets16_Finals_win").layer("master_null").effect("blue")("Checkbox");

                                      if (temp == 0) 0 else 100;


                                      The expression gives no errors and I can see the values updating but the composition window does not reflect the opacity changes.  It's making life difficult as I specifically coded this up to save time and it's just causing headaches.

                                      1 person found this helpful
                                      • 16. Re: Expressions Not Updating?
                                        pegeseus Level 1

                                        This issue appears to also be found in this thread: Expressions stop working after rendering CC2017

                                        I can confirm that running the Render Queue appears to make this happen.  I open a comp- expressions work fine.  I render a PNG and my expressions stop updating in the composition window.  All expressions continue to work as intended but there's no visual update.

                                        • 17. Re: Expressions Not Updating?
                                          Clement Picon

                                          Has anyone found a fix yet?

                                          I'm experiencing the same problems here : Simple expressions like linking a source text to another layer in a different comp won't work after a render. Same for the opacity of a layer linked to a checkbox : the expression work, I can see the opacity value changing when checking / unchecking the box, but nothing happens in the display...

                                          I've experienced the problem on CC 2018 an tried to revert to CC 2017 and 2015, it didn't solve the problem.


                                          I'm using after effects on Windows 7 64 bits with 32Go of ram and a Intel Xeon CPU E5-2620 v3  2.40GHz.


                                          If anyone has a clue on how to fix this, I will be very thankful!