মূল লেখায় যান
রাইসুল সোহান

If something goes wrong#

Symptoms and fixes, tool by tool, then a list of every message the panel can print and what it actually means. Written for LazyMotionToolkit 1.12.

Contents

  1. The panel itself
  2. Precomp
  3. Auto Box
  4. Head to Line
  5. Stagger and Null + Parent
  6. Anchor pad and Center Comp
  7. Fade
  8. Swatch
  9. Grid Maker
  10. LazyStrike FX
  11. LazyPreview Render
  12. Every message, and what it means
  13. Reporting a problem

1. The panel itself#

It is not in the Window menu. The file has to be in a ScriptUI Panels folder — not Scripts, not Scripts/Startup — and After Effects only reads that folder at launch. Restart it. If you installed by hand, check the path in the manual; if you used the installer, run it again and watch for a line saying which versions it found.

It opens as a floating window instead of docking. That is what happens when the script is run through File › Scripts › Run Script File…. Put it in ScriptUI Panels and open it from the Window menu to get a dockable panel.

Buttons look squashed or the right side is cut off. Widen the panel, or undock it. The layout adapts down to a fairly narrow dock, and the swatch grid drops to fewer columns by itself, but there is a floor.

A button does nothing. Almost always no composition is open, or nothing is selected. Every tool works on the selection in the active comp and says so when there is not one.


2. Precomp#

"Not precomposed: … (null, camera or light)." Those cannot be precomposed. Nothing is wrong.

A shape or text layer was skipped as parented or 3D. Precomp (1:1) puts shape and text layers inside the new comp, which would strand a parent relationship or flatten a 3D layer. Use Precomp (Group) for those — it keeps the camera by switching on Collapse Transformations.

Group Precomp refused with a list of layers. One of the layers you selected is parented to a layer you did not select. Select the parent too, or unparent the child.

The precomp is bigger than I expected. A mask that is inverted or driven by an expression is never used for cropping — neither can be measured reliably over time, so the comp stays full size rather than risk cutting off something that appears later.

Something moved on screen after precomposing. This should not happen and is worth reporting. Include the layer type, whether it had masks, and whether the masks were animated.


3. Auto Box#

"Please select a Text Layer first." Auto Box only works on text layers. Select the text, not the box.

The box is there but does not resize. Look for the … - Box Measure layer. If it is gone, the box has nothing to measure. Remove the rig (Remove box) and build it again.

The box is stuck at full size from frame one. The LazyType Reveal slider is not animating. In the Box only style that is expected — the slider is yours to key. Otherwise, check that its two keyframes are still on the text layer.

The box vanished but the text is still there. The box hides itself when the measure layer reports nothing — before the reveal starts, or if the rig lost its parent. If it never comes back, rebuild it.

I deleted the text layer and the box is still in the comp. After Effects orphans children rather than deleting them. The orphaned box is harmless — it measures nothing and fades out — but you have to delete it yourself. Next time use Remove box first.

I deleted the box by hand and the text still types on. The animators and the LazyType Reveal / LazyType Band controls live on the text layer. Remove box takes all of it off; deleting the box layer only removes the box.

The comp got slow. The rig measures the text every frame. Turn Box Smooth down on the box layer — it is a straight multiplier on the cost — or use the Static box style where a box does not need to type on. The numbers are in How Auto Box works.

The box jumps around on Bengali or another complex script. It should not; this is tested. Report it with the exact text — see section 13.

The caret disappeared. A single caret cannot sit at the end of wrapped multi-line text, so it hides itself once the text is more than about a line and a half tall.


4. Head to Line#

"Please select a Shape Layer with a Path first." The head needs a path to follow. A solid, a text layer or an empty shape layer will not do.

"… (no path on it)." The shape layer has no contents yet. Draw the line first.

The head sits at the end but points the wrong way. Turn on Rev, or nudge the Offset Angle control on the head layer — some shapes read as pointing a different direction than you expect.

Clicking Head it! made a second head. It should replace the first one. This works even on a head you renamed, because heads are found by carrying a Head Size control. If a second one appears anyway, the first head's Head Size control was deleted — remove the leftover head by hand.

The head is the wrong size. It is taken from the line's stroke width when first built. Change Head Size on the head layer; it survives a change of shape.

I deleted the line and the head is still there. Same as Auto Box: After Effects orphans children. The head throws no errors; delete it yourself.


5. Stagger and Null + Parent#

"Select at least two layers to stagger." One layer has nothing to be staggered against.

Nothing moved. The topmost selected layer never moves — it sets the beat. If only that layer looks unchanged, that is correct.

Everything moved the wrong way. Turn on Rev, or use a negative frame count, which closes a spread back up.

The layer bars moved off the end of the comp. Your layers run the whole comp, so moving them was never what you wanted. Undo, tick Keys only, and run it again.

"… (no keyframes on it)." In Keys only mode a layer with nothing to move is reported rather than silently skipped.

A layer kept its old parent instead of joining the null. That is on purpose: its parent was also in the selection, so it already follows the null through that parent. Re-parenting it would flatten the rig you built.


6. Anchor pad and Center Comp#

"… (animated anchor point)", "(animated scale)", "(animated rotation)". Moving an anchor point means compensating the position by an offset that depends on scale and rotation. If those animate, no single offset holds the layer still, so the layer is left alone rather than made to drift.

"… (3D layer)." Same reason, in three dimensions.

Center Comp skipped a parented layer. A parented layer's position is in its parent's space, not the comp's, so "the centre of the comp" has no single answer. Unparent it, centre it, parent it back.

Center Comp did not put the layer where I expected. It centres the layer's visible content, not its anchor point — which is usually what you want and occasionally surprising on a layer with a lot of empty space around its artwork.


7. Fade#

"… (already has its own opacity expression)." Apply will not overwrite an expression you wrote. Remove yours first, or use keyframes.

"… (no opacity)." Cameras and some other layers have no opacity property.

Clear did not remove my fade. Clear only removes expressions that begin // LazyMotion Fade and markers named exactly fade in / fade out. If you edited the expression's first line, Clear no longer recognises it — delete it by hand.

Clear left my own markers alone. Intended. Only the two the panel adds are removed.

The fade goes to full white/full opacity when my layer was at 60%. It should not: the fade scales the layer's own opacity. If yours does not, report it.


8. Swatch#

"… (not a shape, text or solid layer)." Only those three can be recoloured.

"… (solids take Fill only)." A solid is coloured through a Fill effect, which has no stroke.

The colour landed on more layers than I expected. A solid's colour is shared by every layer that uses it, which is why the panel adds a Fill effect instead of changing the solid — so this should not happen. If it does, report it.

A swatch disappeared. The palette size is the Tot dropdown, 1–10. Columns are Col, 1–6; fewer are drawn when the panel is too narrow.


9. Grid Maker#

"… makes N layers. Keep it to 400 cells or fewer." A guard rail. Fewer columns or rows.

"The margins and gutters leave no room for the tiles…" The numbers do not fit the comp. The message includes the comp size. The dialog stays open so you can fix them.


10. LazyStrike FX#

It made nothing and said so. The playhead is past the end of the work area, or the timing leaves no room for a single strike. Move the playhead, or turn on Fill Work Area.

Audio-Driven produced no flashes. Select an audio layer, and lower Threshold — at 10 it already ignores quiet material, and a quiet recording may never cross it. Raise Gain for brighter flashes, not more of them.

My work area / selection changed. It should not. Audio-Driven uses After Effects' Convert Audio to Keyframes, which needs both, and puts them back afterwards. If they do not come back, report it.

The window stayed open. That is deliberate — it is a palette, so you can keep generating while you work.


11. LazyPreview Render#

"Save your project first: aerender renders the saved .aep file." Exactly that. aerender reads the file on disk, not what is in memory.

"The work area is empty. Set it first (B = in, N = out)." Set the work area before rendering.

"No H.264 output module template was found (After Effects 2023 or newer is needed)." Older versions do not ship the H.264 template this uses.

"Another composition is also named …" aerender picks a composition by name, so two with the same name are ambiguous and it could render the wrong one. Rename one.

"A preview render is already running." One at a time. Cancel the first if you no longer want it.

"Could not start aerender." Usually Allow Scripts to Write Files and Access Network is off — Edit › Preferences › Scripting & Expressions (Windows), After Effects › Settings › Scripting & Expressions (macOS).

"aerender did not finish the preview (exit code …)" The end of the render log is printed with the message. The most common cause on Windows is non-English letters in the composition name, which aerender cannot receive.

A Bengali (or other non-English) project folder. Supported: the path is passed in its short ASCII form. That needs Windows short names, which are on by default on the system drive. If they are off on the drive your project is on, the panel explains what to change.

Cancel did not stop it. Cancel stops only this render's aerender, on purpose — it used to kill every aerender on the computer, including other people's renders. If the process really is stuck, end it in Task Manager.

"No preview layer in this composition." Render one first, or you are on a different comp than the one you rendered.

Remove left the .mp4 behind. If After Effects still has the file open it cannot be deleted immediately, so it is queued and removed the next time you render or open the panel.

"The composition was not found any more." You deleted or renamed the comp while it was rendering. The message tells you where the finished file is, so nothing is lost.


12. Every message, and what it means#

Before anything runs#

Message Meaning
Please open a composition first. No comp is active.
Please select at least one layer… Nothing is selected.
Please select a Text Layer first, then click Auto Box. Auto Box only takes text layers.
Please select a Shape Layer with a Path first. Head to Line needs a path.
Select at least two layers to stagger. One layer cannot be staggered.
Select the layers you want on a null first. Null + Parent needs a selection.
Select the text layer whose box you want to remove. Remove box works on the text layer, not the box.
Enter how many frames to put between the layers. The Stagger box is empty, not a number, or zero.
Enter valid fade duration in frames. / Enter valid speed multiplier. The Fade fields need positive numbers.
Select at least Fade In or Fade Out. Both boxes are unticked.

Layers a tool would not touch#

Each of these appears after a layer's name, in a list:

Reason Meaning
not a text layer / not a shape layer Wrong layer type for that tool.
not a shape, text or solid layer Swatch cannot colour it.
solids take Fill only A solid is coloured with a Fill effect, which has no stroke.
null, camera or light Cannot be precomposed.
no path on it The shape layer has no contents.
no opacity Cameras and lights have none.
locked Unlock it.
no keyframes on it Stagger's Keys only had nothing to move.
no Auto Box on it Remove box found no rig there.
already has its own opacity expression Fade will not overwrite your expression.
already follows (a layer) Null + Parent kept an existing parent on purpose.
animated anchor point / animated scale / animated rotation No single offset could hold the layer still.
3D layer / camera or light The anchor pad works in 2D.
parented: its parent would not come into the precomp — unparent it first Precomp would strand the child.
the box could not be parented to the text layer Rare. The half-built box is removed rather than left measuring nothing.
lost track of the line Rare. Report it with the steps.

13. Reporting a problem#

Email lettertosohan@gmail.com or open an issue with:

  1. The version — it is in the panel header, and in the first line of LazyMotionToolkit.jsx.
  2. Your After Effects version, and Windows or macOS.
  3. What you selected and which button you pressed.
  4. The exact message, copied out, or a screenshot of it.
  5. For anything visual, a screenshot of the comp — for a wrong shape or a box in the wrong place, a picture says more than a description.
  6. For LazyPreview Render, the end of the render log that the panel prints with the failure.

A comp that reproduces it is worth more than all of the above. If you can save a small .aep that shows the problem, send that.