Failed to call hook 'AttachCarSirens' on plugin 'Sirens v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Sirens+SirenController.get_EntityPrefabs () [0x00012] in <bafcc59588734cf3bba744fb09e53abe>:0
at Oxide.Plugins.Sirens.DetachCarSirens (ModularCar aCar) [0x00024] in <bafcc59588734cf3bba744fb09e53abe>:0
at Oxide.Plugins.Sirens.AttachCarSirens (ModularCar aCar, Oxide.Plugins.Sirens+Siren aSiren, BasePlayer aPlayer) [0x00000] in <bafcc59588734cf3bba744fb09e53abe>:0
at Oxide.Plugins.Sirens.AttachCarSirens (BasePlayer aPlayer, System.String aCommand, System.String[] someArgs) [0x00075] in <bafcc59588734cf3bba744fb09e53abe>:0
at Oxide.Plugins.Sirens.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001c8] in <bafcc59588734cf3bba744fb09e53abe>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
Fresh install, clean install, no custom sirens and doesn't work. I believe this is identical to the previous error message reported.
Please advise. NullReferenceException with version 1.1.1Fixed
Hi there,
thank you for using my plugin and for the bug confirmation. This truly looks like the same issue.
At the moment I literally don't understand why this should happen. But I'll give it top priority and will try to reproduce and fix this issue asap.
Best regards
ZockiRR
Merged post
I am currently trying to get it reproduces. I set also set up a clean fresh server installation, loaded the plugin tried various combinations of commands and modules, but I don't get an error.
Could you tell me if you have any other plugins installed and give me a step by step description of what you're doing. Also what chassis with what modules on it are you trying to attach a siren to?
If it's easier for you I also can visit your server if that's possible and inspect the procedure.
Merged post
Hi there,
I published an update (v1.2.0) for the plugin. I didn't find any further hints for the issue, but I fixed some general flaws and issues. Maybe this fixes the issue. Let me know if this is the case.
Best regards
ZockiRR