It will be a figure
or table
or other package-defined float type (eg algorithm
).
so if you are expecting 10 figures and you only got 9.... it had just finished outputting page 35 (that is the page numbered 35, not necessarily the 35th output page) (the [35] in your snippet) which should also give a clue.
Don't put floating environments in minipages or other non-floating boxes as this is the usual cause for lost floats.
The following example shows one way of visualising the lost floats. The Lost floats error is given as usual but if you carry on, each is lost float is output on an un-numbered page on its own before the document is resumed.
The example loses a couple of figures that were in a box, and a totdo note that was in a marginpar in a box. All three get output at the point of the error (a \clearpage
) producing

\documentclass[a5paper]{article}
\usepackage{graphicx,todo}
\makeatletter
\let\old@error\@latexerr
\def\zzfl@error{Float(s) lost}
\def\@latexerr#1{%
\def\tmp{#1}%
\ifx\tmp\zzfl@error
\def\@elt##1{{%
\let \protect\noexpand
\shipout\vbox{\hbox{LOST FLOAT}\hbox{\fbox{\box##1}}}}}%
\@currlist\@dbltoplist
\let\@elt\relax
\fi
\old@error{#1}}
\makeatother
\begin{document}
xx
\begin{figure}
abc
\caption{dd}
\end{figure}
\parbox{4cm}{zzzz\marginpar{aa\todo{this}}}
\parbox{5cm}{a\begin{figure}
zzzz
\caption{zzzz}
\end{figure}}
\parbox{5cm}{a\begin{figure}
\includegraphics[height=1cm]{example-image-a}
\caption{wwwwwww}
\end{figure}}
\clearpage
some more text
\end{document}
[35]
in your snippet) which should also give a clue. Don't put floating environments in minipages or other non-floating boxes.todonotes
package.