Sweden started well and won the first period 24-17.
Tobias Borg in particular impressed with four three-pointers.
But the top team Slovenia caught up in front of the home crowd and for a long time only a few points separated the teams.
In the third period, the emotions overflowed and the team got into a fight in connection with a timeout.
With eight minutes left to play the match, Sweden went up in a tight lead, but it was not enough.
The match ended 94-89.
The giant of the plan was Klemen Prepelic who accounted for a full 30 points.
The best scorer in Sweden was Ludvig Håkanson with 21.
Sweden has thus started the World Cup qualifier with a victory against Finland and a loss against Slovenia.
The next matches are in February when you meet the Croatian twice.