I don’t know if it’s a framework problem or server. But AssetManager.php file is removed as soon as uploaded on vendor/yiisoft/yii2/web/ on the server or ANY location. Even the version downloaded with softaculous don’t contain that file.
I found a similar issue on github (I’m not allowed to post links), someone posted “The file was being removed automatically because of the calls to symlink()” but didn’t understand what he means. How a new file can affect a symlink