[BUG] Master Properties can't be changed with expression
I put this simple expression on a master property that cycles through some items. It shows 1, 2, 3, 1, 2, 3, etc. on the control, but it only shows the item #1.
timeToFrames(time/50) % 3 + 1;
This wasn't working on another master property, but it started to at some point on it's own. I've tried purging, recreating the property. About the only thing I haven't tried so far but sometimes works is recreating it all in a new comp.
This is fixed in After Effects 17.0.1, released last night. Please update and let us know if you’re still seeing any issues.
Colin, that was exactly what I was thinking until I found that solution. I didn't want to go back to 2019 either.
Thank you for reporting this issue. The team is aware of this bug and will be working a fix.
I think it may have mentioned somewhere in the comments below, but a current workaround is to put a single keyframe or placeholder expression like "value;" on the original property. This should allow the keyframes and expressions on the Master Property to function as expected until a full fix has been made.
- John from the After Effects Team
Colin Harvie commented
I am also having this issue.
Joe Clay, thanks for mentioning that adding a key to the master property will allow the expression to work and pass the values to the pre-comp!
Still a bug, but at least now I don't have to go back to 2019.
Derek Rutkai commented
I am having this same issue but I only ran into it with AE 17.0.0 (AE 2020). I have 6 pre-comps with master properties. Only one of these pre-comp's master properties are animated and the rest are referencing that layer with expressions. like Joe said, the values are moving but the pre-comps are not being updated. Then I realized no expressions on master properties were working.
I have attached a file. All the blocks should be moving. It works for me in AE16.1.1 but doesn't work for me in 17.0.0.
Like Joe said, adding a key keeps the animation from being "frozen".
That’s a different issue. It occurred in older versions of AE. If you change around the properties you’ve added sometimes they’ll corrupt and one thing will control another and other things won’t work. The only fix I’ve found is to take everything into another comp and remind everything to the motion graphics panel. That has always worked.
That’s what I tried to say I attempted in this situation, but it didn’t work so that’s why is say it’s different. I think I’ve put in a report on that one too, but it’s under another user since we now have to log in with an adobe ID for some reason.
Kira Polyakova commented
I have a very similar issue, the master properties directly connected to other properties seem to work, others do not. Moreover I see the master property value is changing but it's not passed into the precomp.
At the same time, once I disable the expression and I start dragging the master property manually - everything works.
Is it the same for you?
Adobe THIS IS A HUGE BUG! It breaks functionality of many projects
I figured out the difference between one that works, and one that doesn't. I must've accidentally added in a key. If the master property is keyed, the expression can change the master property. This is definitely a bug.
Recreating it doesn't work. Linking it to another slider works. However, if I add that expression to the slider, it still breaks in the same way. It's like it samples where it is at frame 0, and that's the only thing that works.
Didn't I see something in the notes about AE freezing expressions that don't change over time? It looks like maybe it's doing it here too because 2+1 does give me the third item. But as soon as it's something that changes, it doesn't work, like keying a linked slider. Changing the first key will change a linked master property, but the subsequent keys won't change it. Hopefully that make sense.