Answer by taking a quote from the following article:

Pink Floyd were an English rock band formed in London in 1965. They achieved international acclaim with their progressive and psychedelic music. Distinguished by their use of philosophical lyrics, sonic experimentation, extended compositions, and elaborate live shows, they are one of the most commercially successful and influential groups in popular music history. Pink Floyd were founded by students Syd Barrett on guitar and lead vocals, Nick Mason on drums, Roger Waters on bass and vocals, and Richard Wright on keyboards and vocals.

In 1975, Pink Floyd bought a three-storey group of church halls at 35 Britannia Row in Islington and began converting the building into a recording studio and storage space. In 1976, they recorded their tenth album, Animals, in their newly finished 24-track studio. The concept of Animals originated with Waters, loosely based on George Orwell's political fable, Animal Farm. The album's lyrics described different classes of society as dogs, pigs, and sheep. Hipgnosis received credit for the packaging of Animals; however, Waters designed the final concept, choosing an image of the ageing Battersea Power Station, over which they superimposed an image of a pig.  The division of royalties was a source of conflict between band members, who earned royalties on a per-song basis. Although Gilmour was largely responsible for "Dogs", which took up almost the entire first side of the album, he received less than Waters, who contributed the much shorter two-part "Pigs on the Wing". Wright commented: "It was partly my fault because I didn't push my material ... but Dave did have something to offer, and only managed to get a couple of things on there." Mason recalled: "Roger was in full flow with the ideas, but he was really keeping Dave down, and frustrating him deliberately." Gilmour, distracted by the birth of his first child, contributed little else toward the album. Similarly, neither Mason nor Wright contributed much toward Animals; Wright had marital problems, and his relationship with Waters was also suffering. Animals is the first Pink Floyd album that does not include a writing credit for Wright, who commented: "Animals... wasn't a fun record to make ... this was when Roger really started to believe that he was the sole writer for the band ... that it was only because of him that [we] were still going ... when he started to develop his ego trips, the person he would have his conflicts with would be me."  Released in January 1977, the album peaked on the UK chart at number two, and the US chart at number three. NME described the album as "one of the most extreme, relentless, harrowing and downright iconoclastic hunks of music", and Melody Maker's Karl Dallas called it "[an] uncomfortable taste of reality in a medium that has become in recent years, increasingly soporific".  Pink Floyd performed much of the album's material during their "In the Flesh" tour. It was the band's first experience playing large stadiums, whose size caused unease in the band. Waters began arriving at each venue alone, departing immediately after the performance. On one occasion, Wright flew back to England, threatening to leave the band. At the Montreal Olympic Stadium, a group of noisy and enthusiastic fans in the front row of the audience irritated Waters so much that he spat at one of them. The end of the tour marked a low point for Gilmour, who felt that the band achieved the success they had sought, with nothing left for them to accomplish.

Were there any problems with the band during the making of the album?
Mason recalled: "Roger was in full flow with the ideas, but he was really keeping Dave down, and frustrating him deliberately."