I get this error very often when I open some of my projects.
Then I simply close the IDE and open it again and then it's all good. I'm on Delphi 12.1 and I never had this issue on Delphi 12.0
I also don't know if this is related yet or not, but I don't think I've ever seen this on any of my small projects. It just happens on my larger projects. It also doesn't happen every time, just sometimes.
I don't have a lot of third party components installed either. Just some random things from GetIt. But I had the same components on Delphi 12.0 and Delphi 11.3 also.
List of installed components:
What is this "Danger" error and what's causing it?
Fix: Update to latest version of the RAD Studio IDE
--
After updating to the latest RAD Studio 12.3. This issue doesn't happen anymore.
It seems like it might have been a bug in earlier versions of the IDE. So just update your IDE.