openmod / openmod

OpenMod .NET Plugin Framework
https://openmod.github.io/openmod-docs/
Other
265 stars 44 forks source link

Unable to resolve global services #836

Open negrifelipe opened 2 months ago

negrifelipe commented 2 months ago

Hi, I have to update my shops plugin for the latest unturned and openmod. I updated ShopsUI to netstandard2.1. I tried then to use the plugin and installing the nuget packages of Silk.Unturned.Extras and Silk.UnturnedImages but it didn't work. I got an error while trying to resolve IUIManager a service from Silk.Unturned.Extras from a command. I also tried to download both Silk.Unturned.Extras and Silk.UnturnedImages and update them to netstandard2.1 and then from the ShopUI referene that dlls and remove the installed packages from project and server and install them as plugin but I also got the same error. I tried to resolve this service from Silk.Unturned.Extras and include a log saying loaded in the ctor and it worked. openmod-2024-07-06-00-47-12.log

negrifelipe commented 2 months ago

Tried to resolve IEconomyProvider and it didn't work too

edit: my bad looks like it was just that i removed the uconomy dll

negrifelipe commented 2 months ago

I tried to disable the hotloader. Looks like it now works. Is this intended?