unishell icon indicating copy to clipboard operation
unishell copied to clipboard

No response to command line entries

Open Ghopper21 opened this issue 12 years ago • 7 comments

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).

Ghopper21 avatar Oct 28 '12 12:10 Ghopper21

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

rje avatar Oct 28 '12 19:10 rje

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?

rje avatar Oct 29 '12 16:10 rje

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)

Ghopper21 avatar Nov 02 '12 22:11 Ghopper21

Tried it myself - Unity5, Mac OSX 10.10.2 -- typing in the interactive window, no response, no printout, no errors.

grimmwerks avatar Mar 12 '15 05:03 grimmwerks

Unity 2020.1 on Mac - no response, no printout, no errors, nothing

omundy avatar Sep 22 '20 01:09 omundy

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: Screen Shot 2022-09-26 at 3 12 01 AM

CuteWaterBeary avatar Sep 26 '22 10:09 CuteWaterBeary

Screen Shot 2022-09-26 at 3 21 58 AM

CuteWaterBeary avatar Sep 26 '22 10:09 CuteWaterBeary