It seems the corruption of a particular file of the Cubase installation is causing this issue.
Reason for the corruption: Steinberg’s development team designed a software that can and will cripple itself. Happens every now and then in different areas of the product.
Here’s a clue what to look for:
I would give you the file but I only have the Cubase12 version of it. So you might have to re-install Cubase.