New Vegas used the same engine as Fallout 3, and it was developed by Obsidian Entertainment. They fixed all the bugs in the engine, and a better development studio handled creating the game. I believe that Fallout 4 used the engine developed for Skyrim, so they had more than 5 years to work out all the bugs.