rje / unishell

Interactive C# Shell for the Unity3d editor
82 stars 7 forks source link

Unity 4.6.3 NullReferenceException #9

Open britg opened 9 years ago

britg commented 9 years ago

Howdy - is this project still supported, and if not do you know of an alternative interactive shell? In Unity 4.6.3 I'm receiving the following error when I open the Interactive Shell window:

NullReferenceException: Object reference not set to an instance of an object
Mono.CSharp.TypeManager.IsThisOrFriendAssembly (System.Reflection.Assembly assembly)
Mono.CSharp.Namespace.RegisterExternalExtensionMethodClass (System.Type type)
Mono.CSharp.RootNamespace.RegisterExtensionMethodClass (System.Type t)
Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType)
Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType)
Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx)
Mono.CSharp.Evaluator.LoadAssembly (System.String file)
CommandEvaluator.InitEval () (at Assets/Add-Ons/Unishell/Editor/CommandEvaluator.cs:51)
ConsoleWindow.Init () (at Assets/Add-Ons/Unishell/Editor/ConsoleWindow.cs:28)
ConsoleWindow.OnGUI () (at Assets/Add-Ons/Unishell/Editor/ConsoleWindow.cs:47)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
rje commented 9 years ago

I'll take a look, what operating system are you on? And is it unity free or pro?

britg commented 9 years ago

OSX 10.10.2, Unity Pro. Thanks for your help.

On Tue, Mar 3, 2015 at 9:07 AM Ryan Evans notifications@github.com wrote:

I'll take a look, what operating system are you on? And is it unity free or pro?

— Reply to this email directly or view it on GitHub https://github.com/rje/unishell/issues/9#issuecomment-76962299.