Playmaker Feedback

NOTE: This board is no longer active and will be removed soon. Please use the Bug Report tool inside PlayMaker or the PlayMaker Forums instead. Thanks!

Links:
Online Manual
Version History
Roadmap
FAQ

Bug : Send Message Action Method Entry

Version 1.0.4005.17772

Platform : Mac OSX

When trying to enter a method name manually in the SendMessage Action, clicking on the text entry field for "Method Name" causes the UI to throw this error, and makes text entry impossible.


NullReferenceException: Object reference not set to an instance of an object
UnityEngine.TextEditor.ClampPos ()
UnityEditor.EditorGUI.DoTextField (UnityEditor.RecycledTextEditor editor, Int32 id, Rect position, System.String text, UnityEngine.GUIStyle style, System.String allowedletters, System.Boolean& changed, Boolean reset, Boolean multiline, Boolean passwordField)
UnityEditor.EditorGUI.TextField (Rect position, UnityEngine.GUIContent label, System.String text, UnityEngine.GUIStyle style)
UnityEditor.EditorGUI.TextField (Rect position, UnityEngine.GUIContent label, System.String text)
UnityEditor.EditorGUILayout.TextField (UnityEngine.GUIContent label, System.String text, UnityEngine.GUILayoutOption[] options)
HutongGames.PlayMakerEditor.ActionEditor.EditMethodName (UnityEngine.GUIContent label, System.String name, Boolean coroutinesOnly)
HutongGames.PlayMakerEditor.ActionEditor.EditFunctionCall (System.Object fieldValue, System.Object[] attributes)
HutongGames.PlayMakerEditor.ActionEditor.GUIForFieldTypes (System.Object instance, System.Reflection.FieldInfo field)
HutongGames.PlayMakerEditor.ActionEditor.OnGUI (HutongGames.PlayMaker.FsmStateAction action, Boolean debugVariables)
HutongGames.PlayMakerEditor.StateInspector.DoActionsGUI (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMakerEditor.StateInspector.OnGUI ()
HutongGames.PlayMakerEditor.InspectorPanel.OnGUI (Rect area)
HutongGames.PlayMakerEditor.FsmEditor.OnGUI ()
FsmEditorWindow.OnGUI () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:51)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)


Workaround : By setting a valid object in the "GameObject" field, and then using the drop down to the left of the "Method Name" text entry field, this populates the text field with a string.  This string can then be selected and edited to the desired string.  Even if this string is deleted, the error doesn't reoccur (string variable may need to be initialized?).
James Murchison Send private email
Wednesday, January 12, 2011
 
 
Thanks! Made a bug. Just curious, on your end do you see any indication or email that a bug was made?
Alexander Chouls Send private email
Wednesday, January 12, 2011
 
 
No sorry, I only see responses.
James Murchison Send private email
Wednesday, January 12, 2011
 
 
Fixed in Beta2.
Alexander Chouls Send private email
Saturday, January 15, 2011
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz