The “dress rehearsal” the Lakers hoped to have in their exhibition against the Phoenix Suns on Thursday at Footprint Center didn’t come to fruition.

And it’s unlikely it’ll happen in their preseason finale against the Golden State Warriors tonight in San Francisco, either.

LeBron James and Rui Hachimura sat out the Lakers’ 128-122 overtime win over the Suns, leaving the Lakers without two starters in their penultimate exhibition.

And first-round pick Dalton Knecht made the most of the extra playing time, scoring 35 points, including 30 in the second half/overtime to lift the Lakers to their second victory of the preseason.

Anthony Davis played extended minutes and had his best game of the preseason: 35 points, 10 rebounds and four assists in 34 minutes, playing all four quarters for the first time. He shot 14 of 28 from the field, including 4 of 9 on 3-pointers — with all his makes from beyond the arc coming in the first quarter.

As part of his second-half scoring flurry, Knecht hit a 28-foot stepback 3 over 7-foot-3 Bol Bol to tie the game at 113 with 4.8 seconds left in regulation.

He scored another 13 points in overtime, sending the veteran players on the Lakers bench into a frenzy with each bucket, including a layup that gave the Lakers a 126-122 lead with 55 seconds left. Knecht scored or assisted on the Lakers’ final 22 points.

Knecht’s and Davis’ scoring totals are tied for the most by any players this preseason, according to ESPN.

It appears James’ preseason is over, giving the 39-year-old star a week of rest before Tuesday’s regular-season opener against the Minnesota Timberwolves at Crypto.com Arena.

James, who’s entering his 22nd NBA season, won’t play against the Warriors, according to multiple media reports.

TNT’s Jared Greenberg was the first to report James’ planned absence tonight.

“Just rest — DNP-old,” Lakers coach JJ Redick quipped ahead of Thursday’s game about James sitting against the Suns. “Taking it out of (San Antonio Spurs coach Gregg Popovich’s) book.”

James will finish the preseason with averages of 12 points (46.9% shooting — 57.1% on 3s), 4.3 rebounds and 3.7 assists in 18.5 minutes across three games — Oct. 6 vs. Suns in Palm Desert, Oct. 10 at Milwaukee Bucks and Tuesday vs. the Warriors in Las Vegas. James played in the second half in just the exhibition against the Warriors.

The Lakers originally hoped to play their rotation extended minutes on Thursday, the first night of a back-to-back, but those plans changed when James and Hachimura (calf tightness) didn’t suit up.

Austin Reaves, Gabe Vincent and Max Christie were also on minute restrictions.

“You have to look at all of the factors and you don’t often get to live in an idealized world in this league, and that’s OK,” Redick said pregame. “Given all the factors, with LeBron, given that a couple of guys, it’s not that they’ve had injuries, but they’re banged up, or in Gabe’s case he dealt with an injury all last season, so we’ve been cautious with him throughout preseason. That’s what we’ve done.”