#How to load Our OWN Plugin

1 messages · Page 1 of 1 (latest)

unreal prism
#

It just won't load!

#

help pls

#

[2025-10-11 13:58:38.761 +08:00] [ERROR] [LabApi] [LOADER] Couldn't enable the plugin 'Delta核弹', Version: 1.0, Author: 'JH Blur'
[2025-10-11 13:58:38.777 +08:00] [ERROR] [LabApi] System.NullReferenceException: Object reference not set to an instance of an object
at LabApi.Events.CustomHandlers.CustomHandlersManager.RegisterEventsHandler[T] (T handler) [0x00000] in <0099db238a5445ed9d90cb9096db0d5c>:0
at Omega.Plugin.Enable () [0x00000] in <da99a9d5c5e5400185217a2e7551260e>:0
at LabApi.Loader.PluginLoader.EnablePlugin (LabApi.Loader.Features.Plugins.Plugin plugin) [0x00012] in <0099db238a5445ed9d90cb9096db0d5c>:0

patent garden
#

Send us the code

#

This won't help

odd slate
#

Did you pass null to RegisterEventsHandler

patent garden
#

But seems like that ^

#

Didn't initialize the event handler

odd slate
#

you should probably do something like this

unreal prism
#

ok

#

it looks like it needs C# 9.0

#

but how to use it in C# 7.3

patent garden
#

new EventHandlers()

#

Just a normal construction call

unreal prism
#

thanks. Bye!

odd slate
unreal prism
#

ok. too.

unreal prism
#

thanks, but what happend to this: [2025-10-11 15:36:27.562 +08:00] New round has been started.
[2025-10-11 15:36:28.540 +08:00] [DEBUG] [Delta] None
[2025-10-11 15:36:28.555 +08:00] [DEBUG] [Delta] None
[2025-10-11 15:36:29.632 +08:00] [STDOUT] NullReferenceException: Object reference not set to an instance of an object
[2025-10-11 15:36:29.635 +08:00] [STDOUT] at Delta.Events+<StartDelta>d__1.MoveNext () [0x00098] in <cafdba4661604efe869b7361f3a74485>:0
[2025-10-11 15:36:29.637 +08:00] [STDOUT] at MEC.Timing.Update () [0x0043c] in <b0a2e17c58e44d4f8f689e7dc71b40f3>:0
[2025-10-11 15:36:29.639 +08:00] [STDOUT] UnityEngine.DebugLogHandler:Internal_LogException_Injected(Exception, IntPtr)
[2025-10-11 15:36:29.641 +08:00] [STDOUT] UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
[2025-10-11 15:36:29.643 +08:00] [STDOUT] UnityEngine.DebugLogHandler:LogException(Exception, Object)
[2025-10-11 15:36:29.645 +08:00] [STDOUT] UnityEngine.Logger:LogException(Exception, Object)
[2025-10-11 15:36:29.647 +08:00] [STDOUT] UnityEngine.Debug:LogException(Exception)
[2025-10-11 15:36:29.649 +08:00] [STDOUT] MEC.Timing:Update()

#

how to fix this

#

@odd slate help

odd slate
#

you didn't set the Status field

unreal prism
#

thanks!