MissingMethodException: Default constructor not found for type System.StringFixed

I tried to use this on my server, nothing happens and i get this

(12:11:49) | Failed to call hook 'OnPlayerRespawned' on plugin 'Loadoutless v0.7.0' (MissingMethodException: Default constructor not found for type System.String)
  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x0007b] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at System.Activator.CreateInstance[T] () [0x00015] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00009] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Plugins.Loadoutless.get_user (BasePlayer player) [0x0001a] in <d04b02a4687b4b1bad7df52cf9c61a17>:0 
  at Oxide.Plugins.Loadoutless.give_loadout (BasePlayer player) [0x00000] in <d04b02a4687b4b1bad7df52cf9c61a17>:0 
  at Oxide.Plugins.Loadoutless.OnPlayerRespawned (BasePlayer player) [0x0001b] in <d04b02a4687b4b1bad7df52cf9c61a17>:0 
  at Oxide.Plugins.Loadoutless.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0026a] in <d04b02a4687b4b1bad7df52cf9c61a17>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
Same here.
that's weird don't get any errors works fine for me.
Still happens.
im also running Kits.  if that helps any. maybe conflict 
@Kechless, try adding a blank constructor and a JSON constructor (with JSONConstructor attribute) to both the PlayerLoadout and LoadoutItem classes.
added the constructors, let me know if you find an error.
This error still happens.
Could you please post your configuration and associated data files?  Thanks
Did you change the default loadout in the config? i recommand do it with /loadout setdefault    - while wearing the loadout that u wanna set as default.

@Calytic and @Kechless: I am getting the same error, I do use custom skins - don't know if that matters from SkinBox

 Failed to call hook 'loadoutcommand' on plugin 'Loadoutless v1.2.0' (MissingMethodException: Default constructor not found for type System.String)
  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x0007b] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at System.Activator.CreateInstance[T] () [0x00015] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00009] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Plugins.Loadoutless.get_user (BasePlayer player) [0x0001a] in <73b6456fcdb0489e888ded12b400fa8a>:0 
  at Oxide.Plugins.Loadoutless.loadoutcommand (BasePlayer player, System.String command, System.String[] args) [0x0006d] in <73b6456fcdb0489e888ded12b400fa8a>:0 
  at Oxide.Plugins.Loadoutless.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00172] in <73b6456fcdb0489e888ded12b400fa8a>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0


Running the latest Patch:

Banned Items: 

"[\"-1429456799\",\"-956706906\",\"1840822026\",\"-1130709577\",\"-1614955425\",\"671706427\",\"1655650836\",\"-1199897169\",\"1052926200\",\"-819720157\",\"-1199897172\",\"-148229307\",\"-691113464\",\"-967648160\",\"-335089230\",\"-850982208\",\"1948067030\",\"-1100168350\",\"-1117626326\",\"1451568081\",\"1159991980\",\"-1950721390\",\"936496778\",\"-148794216\",\"1353298668\",\"1221063409\",\"1382263453\",\"1525520776\",\"143803535\",\"1789825282\",\"-2067472972\",\"1390353317\",\"-796583652\",\"-132247350\",\"15388698\",\"-97956382\",\"1381010055\",\"-946369541\",\"69511070\",\"-4031221\",\"-1779183908\",\"-932201673\",\"-321733511\",\"-592016202\",\"-265876753\",\"317398316\",\"-1982036270\",\"996293980\",\"-1183726687\",\"-1018587433\",\"1719978075\",\"634478325\",\"-1938052175\",\"-858312878\",\"-463122489\",\"-1336109173\",\"-1023374709\",\"866889860\",\"1729120840\",\"-316250604\",\"-2099697608\",\"-1581843485\",\"-1157596551\",\"1523195708\",\"2048317869\",\"-151838493\",\"-384243979\",\"-17123659\",\"-1036635990\",\"-2139580305\",\"528668503\",\"-1663759755\",\"-1321651331\",\"-1841918730\",\"1638322904\",\"605467368\",\"51984655\",\"-742865266\",\"-119235651\",\"1424075905\",\"-1262185308\",\"-1316706473\",\"304481038\",\"200773292\",\"968019378\",\"-1878475007\",\"1263920163\",\"1397052267\",\"1975934948\",\"1248356124\",\"-2124352573\",\"1171735914\",\"-1009359066\",\"352499047\",\"-582782051\",\"-92759291\",\"-295117143\",\"-489848205\",\"-1622660759\",\"553270375\",\"2090395347\",\"-798293154\",\"-1448252298\",\"-1973785141\",\"809199956\",\"-1679267738\",\"37122747\",\"-1759188988\",\"1686524871\",\"-129230242\",\"-209869746\",\"2106561762\",\"-502177121\",\"-1112793865\",\"-690968985\",\"-484206264\",\"573676040\",\"-216999575\",\"1242522330\",\"-1667224349\",\"665332906\",\"1951603367\",\"1723747470\",\"-144417939\",\"699075597\",\"1293102274\",\"-692338819\",\"882559853\",\"-563624462\",\"1885488976\",\"-1331212963\",\"2104517339\",\"-458565393\",\"-1368584029\",\"-282113991\",\"-2058362263\",\"-295829489\",\"-722241321\",\"756517185\",\"-746647361\",\"1414245162\",\"-1286302544\",\"-2049214035\",\"-1880870149\",\"1099314009\",\"-1273339005\",\"613961768\",\"1946219319\",\"1142993169\",\"1534542921\",\"2009734114\",\"1058261682\",\"794443127\",\"1521286012\",\"674734128\",\"-1519126340\",\"833533164\",\"1153652756\",\"-110921842\",\"-586784898\",\"-1832422579\",\"696029452\",\"-845557339\",\"1658229558\",\"23352662\",\"2070189026\",\"-1992717673\",\"1581210395\",\"-1379835144\",\"1413014235\",\"-1999722522\",\"-143132326\",\"1242482355\",\"-1824943010\",\"-1651220691\",\"-1370759135\",\"-1736356576\",\"803222026\",\"-1861522751\",\"-1985799200\",\"593465182\",\"121049755\",\"-1478445584\",\"-1647846966\",\"826309791\",\"198438816\",\"-1138208076\",\"1629293099\",\"-1100422738\",\"-1535621066\",\"-465682601\",\"559147458\",\"553887414\",\"-1754948969\",\"-1293296287\",\"1903654061\",\"-369760990\",\"1668858301\",\"-1104881824\",\"1205607945\",\"1950721418\",\"177226991\",\"2087678962\",\"1542290441\",\"-1863559151\",\"2114754781\",\"-1819763926\",\"-180129657\",\"-1819233322\",\"1524187186\",\"1121925526\",\"1873897110\",\"-1848736516\",\"-1509851560\",\"-1941646328\",\"-700591459\",\"1917703890\",\"-682687162\",\"1391703481\",\"1827479659\",\"1783512007\",\"-989755543\",\"1548091822\",\"1931713481\",\"-586342290\",\"1973684065\",\"-78533081\",\"-41896755\",\"-1607980696\",\"-996185386\",\"98508942\",\"1655979682\",\"-1557377697\",\"-567909622\",\"-778875547\",\"-746030907\",\"-886280491\",\"-237809779\",\"-542577259\",\"352130972\",\"-1878764039\",\"-1039528932\",\"-751151717\",\"1272768630\",\"-1167031859\",\"1422530437\",\"989925924\",\"-1130350864\",\"-1709878924\",\"621915341\",\"-395377963\",\"-1962971928\",\"286193827\",\"1898094925\",\"-1511285251\",\"-1520560807\",\"-1440987069\",\"-629028935\",\"2019042823\",\"73681876\",\"1553078977\",\"1401987718\",\"-1899491405\",\"642482233\",\"1199391518\",\"1414245522\",\"573926264\",\"1234880403\",\"-1994909036\",\"1230323789\",\"-1673693549\",\"479143914\",\"1882709339\",\"95950017\",\"-1021495308\",\"176787552\",\"-1691396643\",\"1712070256\",\"-1211166256\"]"

Added them all in game one by one (was a pain, I like the idea of a whitelist like the other guys post)

Let me know if you need anything else.

Merged post


I may have found why this is happening.  I cleared out the Loadoutless_folder/[PlayerID].json files and I think I did it while the plugin was loaded... so when I tried to save my loadout; it was looking for the file, to save the new loadout to, but couldn't find it.  So I added a new file with my ID to it; (copied another players saved loadout, with my ID) and BOOM was able to save my loadout again. 

Possible bug, perhaps you could add a check to see if the files are present and if they're not; either add a blank one for the player, or reload what was already there.  (but given its gone, a blank one might be the better option)

~Noob
Thanks for your feedback, I will try to fix it
Locked automatically