Nitrox icon indicating copy to clipboard operation
Nitrox copied to clipboard

Launcher v1.8.0.0 crashed with System.NotImplementedException: The method or operation is not implemented.

Open Wicin-134 opened this issue 3 months ago • 4 comments

Which version are you playing on?

1.8.0.0 (Latest release)

Details about version

No response

Which OS are you playing on?

Linux

On which platform did you buy Subnautica?

Epic

Describe the issue.

the launcher crushed when i gave it the folder subanutica is in with the log i provided but i found a solution , i run the launcher with sudo and it didint crush but i think not everyone will know this and this is not the best practie so do somthing with it for example say that you must run it as root

Describe the steps you took to encounter the bug.

i tried to give the launcher info about where is my game but it crushed with this error

Relevant log output

System.NotImplementedException: The method or operation is not implemented. at NitroxModel.Platforms.OS.Unix.UnixFileSystem.SetFullAccessToCurrentUser(String directory) in NitroxModel\Platforms\OS\Unix\UnixFileSystem.cs:line 15 at Nitrox.Launcher.ViewModels.OptionsViewModel.<>c__DisplayClass17_0.<SetTargetedSubnauticaPathAsync>b__0() in Nitrox.Launcher\ViewModels\OptionsViewModel.cs:line 96 at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Nitrox.Launcher.ViewModels.OptionsViewModel.SetTargetedSubnauticaPathAsync(String path) in Nitrox.Launcher\ViewModels\OptionsViewModel.cs:line 109 at Nitrox.Launcher.ViewModels.OptionsViewModel.SetGamePath() in Nitrox.Launcher\ViewModels\OptionsViewModel.cs:line 129 at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask) at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()

Wicin-134 avatar Oct 09 '25 17:10 Wicin-134

also when i copy the config with the location to my not root account the game dosent start Error while starting game in multiplayer mode System.UnauthorizedAccessException: Access to the path '/home/wicin/Games/Heroic/Subnautica/Subnautica_Data/Managed/NitroxPatcher.dll' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException) at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at Nitrox.Launcher.ViewModels.LaunchGameViewModel.<StartMultiplayerAsync>b__19_0() in Nitrox.Launcher\ViewModels\LaunchGameViewModel.cs:line 140 at Nitrox.Launcher.ViewModels.LaunchGameViewModel.StartMultiplayerAsync(String[] args) in Nitrox.Launcher\ViewModels\LaunchGameViewModel.cs:line 106

Wicin-134 avatar Oct 09 '25 17:10 Wicin-134

Not looking into the code this sounds like the Launcher doesn't have permission for the game folder. Can you check th ownership of /home/wicin/Games/Heroic/Subnautica and their attributes?

Jannify avatar Oct 09 '25 17:10 Jannify

Not looking into the code this sounds like the Launcher doesn't have permission for the game folder. Can you check th ownership of /home/wicin/Games/Heroic/Subnautica and their attributes?

The folder is my users home folder and he has full read wirte privliges there

Wicin-134 avatar Oct 09 '25 18:10 Wicin-134

The folder is my users home folder and he has full read wirte privliges there

Are you maybe running Nitrox or Heroic through a sandboxed environment like flatpack?

Jannify avatar Oct 16 '25 09:10 Jannify