From the description of your problem, it sounds like you are using Project for the Web (Project Plan 1 license in M365). What you actually need is the Microsoft Project desktop application, formally known as Project Online Professional (Project Plan 3 license in M365). Hope this helps.