BUG - AE either crashes or return error for too much layers requesting -index rotation propriety
- September 15, 2022
- 1 reply
- 221 views
I got a compostition with a shape layer that keeps scaling up, the animation is supposed to be cascading and a at certain time all of the shapes will have to rotate following the "Ctrls" layer's rotation and a delay in time controled by a slider on the same "Ctrls" layer.
This is the expression I'm using to control the rotation.
r = thisComp.layer(index-1).content("main").transform.rotation;
d = thisComp.layer("Ctrls").effect("rotationDelay")("Slider")*thisComp.frameDuration;
r.valueAtTime(time-d)
Also the colors change depending of the index of the layer. And a pseudo fx with 12 colors controlers
n = thisComp.layer("Main_Tomb").index - index+2;
d = n % 12
thisComp.layer("Ctrls").effect("TombStoneColors 2")([d+2])
When I start repeating the yellow colored layers aound the 91th layer and cascade it to 3 frames AE will start loosing the grip on the rotation of the layers and start rotatin erradically.
If I keep duplicating above 100 for example expression errors on the rotation property that was fine so far start to appear and if I keep repeating eventually the colors expression will break and even crash AE.
I've uploaded 2 versions of the same file. The difference is just that I kept add layers till the bugs start showing.
