Some code were running well, now throw exception like:
Exception: The type initializer for ‘UnityScript.Lang.UnityRuntimeServices’ threw an exception.
Type: System.TypeInitializationException
Module: UnityScript.Lang
InnerException: Could not load file or assembly ‘System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The system cannot find the file specified.
AdditionalInfo:
at UnityScript.Lang.UnityRuntimeServices.GetEnumerator(Object obj)
the source are like:
var servers:Hashtable = new Hashtable();
for(var i:System.Collections.DictionaryEntry in servers)
{
…
Could you please explain how to exactly use those containers under new patch? I hope there is a way let me not to change all the Hashtable into Dictionary.
Thanks.