 Mayer moved from Graz to Innsbruck and then Vienna, where he worked as a dramatist.The events of World War I turned him into a pacifist.In 1917, Mayer went to Berlin, where he worked at the small Residenztheater.