Skip to content
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

FileSystemWatcher patch fails with NullReferenceException #769

Closed
MihailHavenT opened this issue Oct 17, 2023 · 3 comments
Closed

FileSystemWatcher patch fails with NullReferenceException #769

MihailHavenT opened this issue Oct 17, 2023 · 3 comments
Labels
area-Unturned bug Something isn't working

Comments

@MihailHavenT
Copy link

MihailHavenT commented Oct 17, 2023

[20:04:00 ERR][OpenMod.Runtime.Runtime] Failed to patch FileSystemWatcher
System.NullReferenceException: Object reference not set to an instance of an object
  at OpenMod.Runtime.Runtime.PerformFileSystemWatcherPatch () [0x00097] in /_/framework/OpenMod.Runtime/Runtime.cs:340
  at OpenMod.Runtime.Runtime.InitAsync (System.Collections.Generic.List`1[T] openModHostAssemblies, OpenMod.API.RuntimeInitParameters parameters, System.Func`1[TResult] hostBuilderFunc) [0x00795] in /_/framework/OpenMod.Runtime/Runtime.cs:294
@DiFFoZ
Copy link
Member

DiFFoZ commented Oct 17, 2023

Caught exception loading assembly for "netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from discovered paths: ...

See SmartlyDressedGames/Unturned-3.x-Community#4152

Failed to patch FileSystemWatcher ...

Can you attach an Unturned log from U3DS\Server_X.log ?

@DiFFoZ DiFFoZ changed the title Error/s opening a fresh server without plugins! FileSystemWatcher patch fails with NullReferenceException Oct 17, 2023
@MihailHavenT
Copy link
Author

Server_MyServer.log

@DiFFoZ
Copy link
Member

DiFFoZ commented Oct 17, 2023

Did you set the environment variable MONO_MANAGED_WATCHER to disabled? If so, remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Unturned bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants