The Lakers’ six-game winning streak ends with a late collapse and loss to the Orlando Magic

Lakers LeBron James dunks over Magic's Jonathan Isaac.

Lakers star LeBron James dunks over Orlando’s Jonathan Isaac in the second quarter of the Lakers’ 119-118 loss Thursday at Crypto.com Arena. (Wally Skalij/Los Angeles Times)

Timer signaling for Anthony Davis taking your feet out of the purple ice bucket kept ringing but no one stopped it. Davis, eyes frozen and fixed on the door, didn’t move, his hands folded in his lap, the disappointment of the night filling the entire empty space of the locker room.

The Lakers hadn’t experienced a loss in Los Angeles this season, and they certainly hadn’t felt one.

Franz Wagner hit a three-pointer with 3.3 seconds left to give the Orlando Magic one 119-118 win and ended the Lakers’ unbeaten start at home.

With a two-point lead with 18.9 seconds remaining, Davis missed a pair of free throws that likely would have lifted the Lakers to their seventh straight victory. Afterwards, he sat in the dressing room in stunned silence.

Read more: “Has anyone seen him?” Hot-shooting Lakers rookie Dalton Knecht has the NBA’s attention

“We lost the game,” Davis said quietly. “I missed three free throws down the stretch. Come down, hit a three, take the lead. My free throws are very important, very decisive. Missed them.”

It wasn’t just Davis. The Lakers had their chances with the shot that is the only one easy enough to have the word “free” in front of it. But LeBron James split on a late trip to the line. Austin Reavesone of the Lakers’ best shooters, missed two earlier in crunch time.

“We missed them. We really did,” Reaves said.

The Lakers missed six free throws in the fourth quarter, turning what could have been a hard-fought victory into a devastating loss.

“I’m going to a very dark place, literally,” Lakers coach JJ Redick said about the way he deals with a loss like this. “It’s the basement. I turn off the lights and watch film from the match.”

The team had mostly played well against the Magic, minus a clumsy third quarter when a 10-point lead disappeared as Orlando’s zone defense shut down the Lakers.

But James’ fourth-quarter magic — he scored 14 of his 31 points in the final period — looked like it would be enough to help them overcome. He found Davis on a full court assist that gave the Lakers a late three-point lead and put momentum on their side.

The misses at the foul line kept the magic alive, however, and Wagner, in the midst of a breakout season, hit the biggest shot to silence Crypto.com Arena. He finished with 37 points, 11 assists, six rebounds and four steals.

“Didn’t love the thought process and mindset when Wagner hit the three,” Redick said.

Davis, who led the Lakers with 39 points, badly missed a contested shot at the buzzer.

“Any loss is frustrating,” Davis said. “More frustrating for me because I’m the one who missed the free throws.”

The Lakers host Denver, the team that eliminated them the last two postseasons, on Saturday night.

“We had our chances. They played well,” James said. “We played well. I think obviously the biggest bucket of the night was Franz. But we put ourselves in a position to win the game and we just didn’t come through.”

Sign up for our weekly newsletter on all things Lakers.

This story originally appeared in Los Angeles Times.