-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expanding .zip downloads folder to Program Files causes issues #1559
Comments
The problem is in the log: UnauthorizedAccessException: Access to the path "C:\Program Files\Nitrox\1.5.0.1\servers" is denied.
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <567df3e0919241ba98db88bec4c6696f>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean isAsync, System.Boolean anonymous) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess)
at NitroxModel.Serialization.ServerList.Save (System.String file) [0x0000a] in <d237b79c941f453c9524154604c5abe3>:0
at NitroxModel.Serialization.ServerList.From (System.String file) [0x00031] in <d237b79c941f453c9524154604c5abe3>:0
at NitroxModel.Serialization.ServerList.get_Instance () [0x0000e] in <d237b79c941f453c9524154604c5abe3>:0
at NitroxClient.MonoBehaviours.Gui.MainMenu.MainMenuMultiplayerPanel.LoadSavedServers () [0x00000] in <2c93c67670e547abbe7a428c7a78976c>:0
at NitroxClient.MonoBehaviours.Gui.MainMenu.MainMenuMultiplayerPanel.Setup (UnityEngine.GameObject loadedMultiplayer, UnityEngine.GameObject savedGames) [0x000a7] in <2c93c67670e547abbe7a428c7a78976c>:0
at NitroxClient.MonoBehaviours.Gui.MainMenu.MainMenuMods.MultiplayerMenuMods () [0x00114] in <2c93c67670e547abbe7a428c7a78976c>:0
at NitroxClient.MonoBehaviours.Gui.MainMenu.MainMenuMods.SceneManager_sceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode loadMode) [0x0001e] in <2c93c67670e547abbe7a428c7a78976c>:0
at (wrapper delegate-invoke) UnityEngine.Events.UnityAction`2[UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode].invoke_void_T0_T1(UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode)
at UnityEngine.SceneManagement.SceneManager.Internal_SceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) [0x0000c] in <11d76d5f2da344218c391ad1f20978b4>:0 It means that the game does not have access to the file (where Nitrox is located). |
@Measurity while this makes sense, this should likely either be specified in the Readme/install instructions of the site as a warning, or remedied as part of the install process/first boot as admin. Otherwise, you're going to have a lot more people who prefer an organized directory structure w/ a launcher shortcut on the desktop unable to use Nitrox. |
We have a Discord server where you can ask any question about Nitrox and get support for it.
People can't or won't read. I agree that we should do this as an install step. |
Version
1.5.0.1
Bug
I can still see the
![image](https://user-images.githubusercontent.com/19479276/127946186-cad72855-54df-489a-a767-812bd8bbf811.png)
Play
button in the Subnautica GUI, but theMultiplayer
button leaves me with an otherwise-blank screen to the main options.Expected
Play button not to be present, and Multiplayer to open interface to connect to my friend's server.
Steps to reproduce
I'm on Windows 10
C:\Program Files\Nitrox\1.5.0.1\NitroxLauncher.exe
as AdminMultiplayer
Other details:
I just confirmed as I was writing this that downloading to my
Downloads
folder instead fixes the issue.I don't see any issues at a glance in the
player.log
? Uploading it here(the previous one, since my current is working fine in my
Downloads
folder)Player-prev.log
The text was updated successfully, but these errors were encountered: