Eject shows No precomp
None of the selected layers is a precomp layer. Footage, shapes, text and solids can’t be ejected. Select the precomp layer itself in the timeline.
Eject or Pack shows a number and locked
Every selected layer is locked. Unlock the layers (the lock switch in the timeline) and click again. When only some are locked, Eject and Pack skip those and the message says how many.
Eject shows No selection or No comp
Nothing is selected, or no comp is open. Open the comp in the viewer, select the precomp layer, and click again.
No count shows when I hover Eject
Eject reads the selection when the pointer enters the panel. If you changed the selection in After Effects while the pointer was over the dock, move the pointer off the panel and back on.
A new null appeared in my comp
That’s the null that carries the precomp layer’s position, scale and rotation. Move it to move all the ejected layers. Hold Alt when you click Eject to leave no null; see Eject without a null.
A Matte or FX layer appeared
A layer named <precomp> Matte is the precomp layer’s masks, or its frame crop, rebuilt so every layer stays cropped the way it was. A layer named <precomp> FX is the precomp layer itself, turned into an adjustment layer to keep its effects. Both are part of keeping the picture the same; see Keep the comp looking the same.
Some layers are switched off after Eject
Those layers would never have been seen within the precomp layer’s in and out points, so they land switched off. Turn Keep full length on in Settings to keep every layer at its whole length instead.
Something looks different after Eject
Check the list in the message, or in Eject’s tooltip, which keeps it until your next eject. Each entry names a layer and why. The usual causes are a blur or glow on the precomp layer over other layers, a blending mode, or a camera inside the precomp. Keep the comp looking the same has the full list. Press Undo once to put the precomp back.
Layers have their names changed
A layer whose name is already taken in your comp gets a number on the end. Expressions that point at it are updated, so they keep working.
The precomp is still in the Project panel
Eject leaves it there in case something else uses it. Turn on Delete unused source comps in Settings to remove it after Eject when nothing does.
Pack didn’t crop the precomp
The message said nothing to crop: the selection had only nulls, cameras, lights or guide layers, which have no size to measure. The precomp was packed at the comp’s size.