Cookie Cutter Script and 'MissingMethodException'

Hello.

I've copied over the cookie cutter script from the unityCommunity wiki. It seems that I keep getting these exceptions from the script.

MissingMethodException: Method not found: 'System.String.Split'. Boo.Lang.Runtime.MethodDispatcherFactory.ProduceExtensionDispatcher()

Here is the call stack

MissingMethodException: Method not found: 'System.String.Split'. Boo.Lang.Runtime.MethodDispatcherFactory.ProduceExtensionDispatcher () Boo.Lang.Runtime.MethodDispatcherFactory.Create () Boo.Lang.Runtime.RuntimeServices.DoCreateMethodDispatcher (System.Object target, System.Type targetType, System.String name, System.Object[] args) [0x00000] Boo.Lang.Runtime.RuntimeServices.CreateMethodDispatcher (System.Object target, System.String name, System.Object[] args) [0x00000] Boo.Lang.Runtime.RuntimeServices+<>c_DisplayClass1.b_0 () Boo.Lang.Runtime.DispatcherCache.Get (Boo.Lang.Runtime.DispatcherKey key, Boo.Lang.Runtime.DispatcherFactory factory) Boo.Lang.Runtime.RuntimeServices.Dispatch (System.Object target, System.String cacheKeyName, System.Type[] cacheKeyTypes, System.Object[] args, Boo.Lang.Runtime.DispatcherFactory factory) [0x00000] Boo.Lang.Runtime.RuntimeServices.Dispatch (System.Object target, System.String cacheKeyName, System.Object[] args, Boo.Lang.Runtime.DispatcherFactory factory) [0x00000] Boo.Lang.Runtime.RuntimeServices.Invoke (System.Object target, System.String name, System.Object[] args) [0x00000] CookieCutter._ReadCookiesCallback (System.Object cookie_string) (at Assets\CookieCutter.js:48) CookieCutter.ReadCookiesFromBrowser () (at Assets\CookieCutter.js:65) CookieCutter.Awake () (at Assets\CookieCutter.js:35)

It's an old question, but I just ran into the problem. I could fix it by deleting the extra square brackets in the Split argument, so _ReadCookiesCallback now looks like:

function _ReadCookiesCallback(cookie_string) {
_cookies = new Hashtable();
loaded=true;
for(var element in cookie_string.Split(";"[0]) ) {
  var key_value = element.Split("="[0],2);
  if(key_value.Length == 2)
      _cookies[key_value[0].Trim()] = key_value[1];
  }
}