Update because ErrorSolved

[2024.02.01 20:09:35] [ERRO] Failed to call internal hook 'OnServerInitialized' on plugin 'BackpackButton v1.1.1' [1330569572] (Object reference not set to an instance of an object)
at void Oxide.Plugins.BackpackButton+BackpacksApi.GetOption<Func<BasePlayer, bool>>(Dictionary<string, object> dict, string key, out Func<BasePlayer, bool> result) in /home/container/carbon/plugins/BackpackButton.cs:line 226
at BackpacksApi Oxide.Plugins.BackpackButton+BackpacksApi.Parse(Dictionary<string, object> dict) in /home/container/carbon/plugins/BackpackButton.cs:line 208
at void Oxide.Plugins.BackpackButton.HandleBackpacksLoaded() in /home/container/carbon/plugins/BackpackButton.cs:line 415
at void Oxide.Plugins.BackpackButton.OnServerInitialized() in /home/container/carbon/plugins/BackpackButton.cs:line 70
at object Oxide.Plugins.BackpackButton.InternalCallHook(uint hook, object[] args) in BackpackButton.cs/Internal:line 290

looks like a carbon issue to me

Merged post

Looks like something with the carbon mod not supporting this plugin properly. The plugin compiles just fine on Oxide.

I had it installed on carbon all the time and it ran flawlessly until today's freezewipe.

I haven't been able to reproduce the issue, using Oxide.

From the error stacktrace, it seems there was an issue where the framework failed to properly communicate between plugins. BackpackButton called an API of Backpacks, but got a result that was either null or an unexpected type, which shouldn't be possible unless the framework did something wrong.

Looks to be an issue with Carbon itself as I'm also facing the same issue. Carbon did some changes on the hook logic I believe and it messed up some part of the API hook functionality. I'm still waiting for Carbon to release a fix for this.

So far I found its affecting BackpackButton & ItemRetriever plugins.



Merged post

Issue is fixed in latest Carbon update v1.2024.1033.4309
Locked automatically