Development Originally, Mahesh Babu planned to make his direct debut in
Tamil, after the dubbed Tamil version of
Srimanthudu (2015), titled
Selvandhan, received a decent response from audiences. After opening that the script had the potential to be commercially successful in both languages without making many changes, Babu accepted the proposal of a Telugu-Tamil film. In November 2015, Babu announced his next project would be a Tamil-Telugu bilingual film directed by
A. R. Murugadoss. It marks Babu's first direct Tamil debut, as well as Murugadoss' return to the Telugu cinema industry, a decade after his last film
Stalin (2006) starring
Chiranjeevi.
Santhosh Sivan, worked with Murugadoss in
Thuppakki (2012), as the cinematographer, and
Harris Jayaraj, who scored music for Murugadoss' earlier films,
Ghajini,
7 Aum Arivu and
Thuppakki, as composer. It was reported that Babu would play the role of a police officer in the film, although other reports claimed that Babu would play the role of a
RAW agent. The title of the film was also rumoured to be
Abhimanyu. However, in December 2016 the filmmakers announced the tentative title of the film as
Sambhavami, which received a mixed response from fans. On 18 March 2017, the film's title was revealed to be
Spyder. However, her unavailability after she was finalised in
Takadum, starring
Sushant Singh Rajput, meant that the creators approached
Rakul Preet Singh for the leading role.
S. J. Suryah was hired to play a negative role for the first time after featuring in lead roles, marking his second collaboration with Mahesh Babu after directing him in
Naani (2004). Murugadoss was a former assistant of S. J. Suryah in the films
Vaalee and
Kushi. Tamil actor
RJ Balaji signed onto the film in January 2017, playing the role of Shiva's friend. In December 2016,
Bharath was signed on to play a negative role. Twin stunt choreographers
Anbariv were eventually roped into the film to choreograph action sequences, although
Peter Hein was also roped into the film. R. C. Kamalakannan, who supervised visual effects for
Baahubali 2: The Conclusion (2017), was roped in as part of the technical crew. Kamalakannan claimed that the film has heavy visual effects, and a Russian principal studio was working on the film.
Nayanthara was initially rumoured to have a crucial role in the film, although Murugadoss denied it.
Filming The film's
principal photography commenced on 29 July 2016. The second schedule of the film took place in mid-September 2016, in Pune and Bangalore, after the Chennai schedule was wrapped up. The third schedule was kickstarted in Hyderabad in November 2016, with filming taking place for three weeks. After wrapping up the shoot on 22 November, the team headed to Ahmedabad and Surat for the fourth schedule. Babu extensively shot the schedule for two weeks. After a brief break, the makers resumed the shoot in Mumbai in January 2017, where the introductory scenes featuring Babu were shot. During March 2017, Chiranjeevi made a visit to the film sets. More filming occurred in Vietnam between late March and early May. Some of the action scenes were shot there with local stunt artists, such as the rollercoaster chase. although shooting started on 4 May 2017. Art director Rupin Suchak revealed to a source that 98% of the film was shot in
Chennai, with the backdrop being changed to
Hyderabad through computer graphics for the Telugu version. Babu did the film's stunts by himself without using body doubles. In some of the more intense scenes, he continued to perform his own stunts despite sustaining various injuries, leading to a physiotherapist being posted on set permanently for him, and eventually he "couldn’t get up for a week after the shooting schedule". On 16 May 2017, a source claimed that the makers planned for a climax sequence with high-octane action scenes, instead of a normal climax, which was originally scheduled to be shot at the NIMS Hospital in Bibnagar, Hyderabad. The filming was planned to be completed by 2 June 2017, but the final schedule was started on 13 June, where minor dialogue portions were filmed, with shooting to last for only four days. In July 2017, the makers filmed a song sequence in Hyderabad for ten days. The last song of the film was shot abroad on 2 August, and the principal shoot was wrapped following its completion. ==Music==