No such file or directory (887281)

Hello. When i try to build my project to a window version of my games i get an error that say :
/Applications/Unity/Hub/Editor/2021.3.6f1/PlaybackEngines/WindowsStandaloneSupport/Variations/win32_player_nondevelopment_mono/WindowsPlayer.exe to Temp/StagingArea/WindowsPlayer.exe: No such file or directory


I have a macOS High sierra version 10.13.6.

Can you help me pls ?

Is there a WindowsPlayer file in the source directory specified by the error? I checked my install of 2020.3.26f1, and that path is actually: %Programs%/Unity/Hub/Editor/2020.3.26f1/PlaybackEngines/WindowsStandaloneSupport/Variations/win32_nondevelopment_mono/WindowsPlayer.exe

Note the lack of _player in the parent folder of WindowsPlayer.exe. If yours is named similarly, copying the player contents into a directory with the correct path ought to do till they get around to fixing the path.

Hello !
Sorry for seing your message so late i start a break at the time i ask this question.

I finnally see where this path where from and i see that the unity hub edior version was not correct by showing a version different that i actually have.

So this time insteed of simply reinstall unity i reinstall unity and unity hub and it worked !

Maybe i could have done it in a cleaner way but i don’t know how.

But thanks a lot for your help Vicarian, you regive me hope about this problem lol

Cordially