RunUAT.bat ERROR: AutomationTool was unable to run successfully

After switching from “Development Editor” to “Development”, try using “Rebuild Solution” option in VS instead of just “Build”.