Bodycamera video showing police interview the YouTube shooter just hours before the attack has been released.

Cops in Mountain View, California, found Nasim Aghdam asleep in her 2006 Pontiac in the parking lot of a Walmart at around 1.38am on April 3. She was listed as missing when they ran her plates.

About 10 hours later, Aghdam would injure three before killing herself while shooting up on an employee patio at YouTube headquarters about 25 miles north.

After running the car's plates, dispatch told the officers that Aghdam was reported missing by her father in San Diego on March 31.

Cops in Mountain View, California, found Nasim Aghdam asleep in her 2006 Pontiac in this parking lot of a Walmart at around 1.38am on April 3

Officers approach the vehicle and find Aghdam asleep in the back seat behind a partition

Aghdam was listed as 'at risk' because she had no prior history of going missing, the dispatcher said.

The video shows the officers approach the Pontiac and rouse Aghdam, who is asleep in the back seat behind a crude partition.

Aghdam crawls into the front seat of the car wearing a pink hoodie, dark pants and socks.

The officers ask her to confirm her identity and inform her she is listed as missing before asking why she left her family in San Diego.

'We don't get along together, so I left them,' says Aghdam.

The officers ask her whether she has any intention of hurting herself or anyone else, to which she repeatedly says 'no' or shakes her head.

Aghdam says she's in Mountain View because she's 'trying to find a job'.

Aghdam responds calmly as the officers inform her that she has been reported missing and ask her why she left her family in San Diego

Aghdam says she is looking for a job and had had trouble getting along with her family

After she tells the officers that she has no plans to hurt herself or others, the officers get her her phone number for the report and allow her to go on her way

After confirming Aghdam’s phone number, the officers explain to Aghdam that her father will be informed that she has been found in Mountain View.

They explain that the statewide system she had been entered into when she was reported missing, known as MUPS, will be updated to show that she has been found.

'A review of the incident revealed that our officers followed proper procedure and protocol,' said Mountain View Police Chief Max Bosel in a statement.

'In this case, they checked on the welfare of a person who, at the time, was reported missing but whose actions, demeanor, and answers did not present any information which would cause us to believe she would be a threat to herself or others,' the chief continued.

'The tragedy of the incident at YouTube weighs heavily on our hearts but we support and stand by the actions taken by our officers in their contact with Ms. Aghdam.'

The released materials included bodycam footage from two officers, as well as radio traffic and a call from Mountain View dispatch to San Diego missing persons.

Agdahm was an avowed vegan and the creator of many strange YouTube videos

She had complained bitterly about the company, as in this protest photo she posted online

Three people were injured when she opened fire at YouTube before killing herself

What was not recorded were two calls between Mountain View police and Aghdam’s father, Ismail Aghdam.

The department described the calls in a statement, saying that 'the father called back to let our officer know that his daughter had recently become upset about changes on the YouTube platform that had impacted videos she had created on living a vegan lifestyle.'

'At no point in either of our conversations did the family bring up any concerns about their daughter’s behavior, any potential violence she may carry out, or any likelihood that she could be a danger to herself or others,' the statement said.

Nasim Agdam opened fire at approximately 12.46pm on April 3, firing roughly 20 rounds from a legally purchased Smith & Wesson 9mm handgun.

The avowed vegan and creator of many strange YouTube videos had complained bitterly about the company.

'Youtube filtered my channels to keep them from getting views!' she wrote on a personal website.