uEssentials icon indicating copy to clipboard operation
uEssentials copied to clipboard

An error occurred while enabling uEssentials

Open YUNIKUA opened this issue 4 years ago • 3 comments

[loading] uEssentials An error occurred while enabling uEssentials. If this error is not related with wrong configuration, please report it here https://github.com/uEssentials/uEssentials/issues Error: System.InvalidOperationException: Steamworks GameServer is not initialized. at Steamworks.InteropHelp.TestIfAvailableGameServer () [0x0001d] in <939abe42d55f40349bbaffbb9334fc69>:0 at Steamworks.SteamGameServer.SetKeyValue (System.String pKey, System.String pValue) [0x00000] in <939abe42d55f40349bbaffbb9334fc69>:0 at Essentials.Core.EssCore.Load () [0x00031] in :0 Failed to load uEssentials, unloading now... :System.NullReferenceException: Object reference not set to an instance of an object. at Essentials.Core.EssCore.CheckUpdates () [0x00007] in :0 at Essentials.Core.EssCore.Load () [0x00481] in :0 at Rocket.Core.Plugins.RocketPlugin.LoadPlugin () [0x00033] in :0

[unloading] uEssentials Failed to unload uEssentials:System.NullReferenceException: Object reference not set to an instance of an object at Essentials.Core.EssCore.Unload () [0x00076] in :0 at Rocket.Core.Plugins.RocketPlugin.UnloadPlugin (Rocket.API.PluginState state) [0x0003b] in :0 at Rocket.Core.Plugins.RocketPlugin.LoadPlugin () [0x0005c] in :0 Setting up 16 worker threads for Enlighten. Thread -> id: 7f973cff9700 -> priority: 1 Thread -> id: 7f9723fff700 -> priority: 1 Thread -> id: 7f97237fe700 -> priority: 1 Thread -> id: 7f9722ffd700 -> priority: 1 Thread -> id: 7f97227fc700 -> priority: 1 Thread -> id: 7f9721ffb700 -> priority: 1 Thread -> id: 7f97217fa700 -> priority: 1 Thread -> id: 7f9720ff9700 -> priority: 1 Thread -> id: 7f971bfff700 -> priority: 1 Thread -> id: 7f971b7fe700 -> priority: 1 Thread -> id: 7f971affd700 -> priority: 1 Thread -> id: 7f971a7fc700 -> priority: 1 Thread -> id: 7f9719ffb700 -> priority: 1 Thread -> id: 7f97197fa700 -> priority: 1 Thread -> id: 7f9718ff9700 -> priority: 1 Thread -> id: 7f97187f8700 -> priority: 1 NullReferenceException: Object reference not set to an instance of an object at Essentials.Core.EssCore.Unload () [0x00076] in :0 at Rocket.Core.Plugins.RocketPlugin.UnloadPlugin (Rocket.API.PluginState state) [0x0003b] in :0 at Rocket.Core.Plugins.RocketPlugin.OnDisable () [0x00000] in :0

(Filename: Line: 0)

NullReferenceException at (wrapper managed-to-native) UnityEngine.Behaviour.set_enabled(UnityEngine.Behaviour,bool) at _JF+_Fi.‫‏‌‎‮‍‏‍‎‮‫‮‎‪‮​‍‍‎‬‭‬‫‭‍‫‌‭‍‮ (System.Object , System.Boolean ) [0x00000] in <71855c0bf5dd4646af6f09a63b533cca>:0 at _JF+_Fi._Jb () [0x00000] in <71855c0bf5dd4646af6f09a63b533cca>:0 at _JF+_ce.‭‬‪​‫‬‬‌​‍‍​‫‭‮‮‍​‏‭‫‫‎‮‎‮‮‪‍‮ (System.Object ) [0x00000] in <71855c0bf5dd4646af6f09a63b533cca>:0 at _JF+_ce._CC (System.Collections.Generic.KeyValuePair2[TKey,TValue] ) [0x00007] in <71855c0bf5dd4646af6f09a63b533cca>:0 at _pb._Ef[] (System.Collections.Generic.IEnumerable1[T] , System.Action`1[T] ) [0x000dd] in <71855c0bf5dd4646af6f09a63b533cca>:0 at _JF._zB () [0x00000] in <71855c0bf5dd4646af6f09a63b533cca>:0 at _be.‎‪‮‭‎​‎‪‌‍‭‎‍‫‪‎‌‎‮‌‍‪‮ (System.Object ) [0x00000] in <71855c0bf5dd4646af6f09a63b533cca>:0 at _be._8F () [0x0000a] in <71855c0bf5dd4646af6f09a63b533cca>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in :0 Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in :0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0 at _4B.‏‎​‫‎‭‪‭‭‍​‎​‌‭‏‍‎‍‬‏‎‪‮‫‬‏‮ (System.Object , System.Object , System.Object[] ) [0x00000] in <0d7f4b4394d145968a655973d7517a1e>:0 at _4B._Gb () [0x00000] in <0d7f4b4394d145968a655973d7517a1e>:0 at _2c.‫​​‌‮‎‬‌‌‏‬‪‬‍‏‮‫‌‮‭‭‫‮ (System.Object ) [0x00000] in <0d7f4b4394d145968a655973d7517a1e>:0 at _2c._vc () [0x00061] in <0d7f4b4394d145968a655973d7517a1e>:0 at AviRockets.Gateway.RokkyPlugin.UnloadPlugin (Rocket.API.PluginState state) [0x00082] in <0d7f4b4394d145968a655973d7517a1e>:0 at AviRockets.Gateway.RokkyPlugin.‬‫‏‏‏​‍‎‮‍‎‌‬‬‏‮‍‮‌‪‎‌​‏‫‎‮‮‎‮ (System.Object , Rocket.API.PluginState ) [0x00000] in <0d7f4b4394d145968a655973d7517a1e>:0 at AviRockets.Gateway.RokkyPlugin.OnDisable () [0x00000] in <0d7f4b4394d145968a655973d7517a1e>:0

(Filename: <71855c0bf5dd4646af6f09a63b533cca> Line: 0)

YUNIKUA avatar Apr 24 '21 05:04 YUNIKUA

Hello, use my version thank you https://github.com/TH3AL3X/uEssentials/releases/tag/1.3.6.5

TH3AL3X avatar May 20 '21 17:05 TH3AL3X

@YUNIKUA did the version from TH3AL3X work?

heres our logs ... [uEssentials] [ERROR] An error occurred while enabling uEssentials. [uEssentials] [ERROR] If this error is not related with wrong configuration, please report [uEssentials] [ERROR] it here https://github.com/uEssentials/uEssentials/issues [uEssentials] [ERROR] Error: System.NullReferenceException: Object reference not set to an instance of an object at Essentials.Common.EnumerableExtensions.ForEach[T] (System.Collections.Generic.IEnumerable1[T] src, System.Action1 [T] action) [0x00002] in <9a993a921f1e4a5cb03bc343fa7b9cf8>:0 at Essentials.Core.Command.TextCommand..ctor (Essentials.Configuration.TextCommands+TextCommandData data) [0x0006f] in <9a993a921f1e4a5cb03bc343fa7b9cf8>:0 at Essentials.Core.EssCore.<ConfigPostLoad>b__77_1 (Essentials.Configuration.TextCommands+TextCommandData txtCommand) [0x00007] in <9a993a921f1e4a5cb03bc343fa7b9cf8>:0 at System.Collections.Generic.List1[T].ForEach (System.Action`1[T] action) [0x00024] in :0 at Essentials.Core.EssCore.ConfigPostLoad () [0x0019f] in <9a993a921f1e4a5cb03bc343fa7b9cf8>:0 at Essentials.Core.EssCore.Load () [0x002ca] in <9a993a921f1e4a5cb03bc343fa7b9cf8>:0

` im not sure . Just enabled warps and added them to permissions and changed a bunch of other settings . Some uessentials features seem to be working . Tpa included warps are enabled in config but i see the setting may not be getting loaded.

KenDevLogic avatar Jun 03 '21 13:06 KenDevLogic

i had an empty text command in warps .. which means it was declared to have another text command , but i didnt fill in details for the command . Just left the two {} and didnt fill it in . So i see it was trying to load the text command but there wasn't information to load . I just went in there and saw we could have text commands in there , i saw a sample one and i deleted it .. but didn't clear the brackets , so it was being loaded as another text command .

if i had done this the next day i may not have remembered that :smile: this is what i had [ { "Name": "rules", "Text": [ "<cyan>Be Respectful.", "<cyan>Don't use cheats.", "<cyan>Have fun :D" ] }, {} ]

KenDevLogic avatar Jun 03 '21 14:06 KenDevLogic