Siunitx v3 in beamer adds extra slide containing “T@TS1” before the first frame

beamermiktexsiunitx

As said in the title, I started having this problem that I didn't encounter before. After some trial and error, I discovered that siunitx is the problem (It doesn't give problems when using the article class).

I use MiKTeX with TeXstudio in Windows 10.

Here is a minimal working example:

\documentclass{beamer}

\usepackage{siunitx}

\begin{document}
    \begin{frame}
        some text
    \end{frame}
\end{document}

This problem does not occur with TeX Live 2020 (tested on Overleaf).

Best Answer

I've located the issue and there will be an update to CTAN shortly. It's a simple error - I've accidentally grabbed an argument that's eating up a test.