unishell
unishell copied to clipboard
No response to command line entries
I can install the package and open the interactive shell without apparent problem. But when I type anything into the command line and hit enter, it just disappears and nothing else happens. This is on a Mac with the latest version of Unity (free).
Thanks for the report -- I'm running on pro, but I'll install free on another computer and see if I can reproduce your issue.
Cheers, Ryan
My work machine is running the 4.0 beta, but I made some fixes earlier today to assembly loading that may have resolved this issue. Could you try the latest and let me know if it's still broken for you?
Thanks -- getting a different problem now. Load Unity 3.5 (free). Create new project. Import the 0.3 package. Click Window > Interactive Shell. Shell window comes up. Enter e.g. 1 + 1; Get the following runtime error:
NullReferenceException: Object reference not set to an instance of an object UnityEditor.EditorGUI.ObjectIconDropDown (Rect position, UnityEngine.Object[] targets, Boolean showLabelIcons, UnityEngine.Texture2D nullIcon, UnityEditor.SerializedProperty iconProperty) UnityEditor.MonoScriptImporterInspector.OnHeaderIconGUI (Rect iconRect) UnityEditor.Editor.DrawHeaderGUI (UnityEditor.Editor editor, System.String header) UnityEditor.Editor.OnHeaderGUI () UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty) UnityEditor.InspectorWindow.OnGUI () System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
Tried it myself - Unity5, Mac OSX 10.10.2 -- typing in the interactive window, no response, no printout, no errors.
Unity 2020.1 on Mac - no response, no printout, no errors, nothing
I got it to work. I used the updated files from BlueAmulet -> https://github.com/BlueAmulet/unishell/tree/master/Assets/Plugins/Unishell/Editor It's the 3 .cs files.
Then I used the Mono.CSharp.dll from the installation of Unity:
