Mac install, CubeMX 4.22.0, but all the versions do this. The Mac installer is broken and has been for many versions, so we install from the command line with sudo java -jar. At any rate, when making a new project, this error message comes up, and it shows a bad path. See attached image. specifically where it says db//plugins. that extra slash is probably what borks it.