I encountered this as well and solved it by deleting the internal project settings directory located at:
C:\Users\UserName\AppData\Local\JetBrains\IdeaIC2023.3\projects