Hi. I'm using PM1.9.0.
Several days ago, i got some unfamiliar error logs.
It's about variables of an FSM. the variables are showing in inspector(toggled inspector option.).
The FSM is in a prefab.
When i hit the play button of unity editor,
if the active gameObject is one of the problem prefab, and the playmaker editor is showing it,
the variables goes 'null' icon. And spem error logs.
i attatched screenshots.
if i click some other gameobject, then click problem prefab(in scene) again, the 'null' icon will be fixed and error logs stops.
i didn't experienced this last month. this is new one to me.
here's error log. what is this?
*error log1
SerializedProperty fsm.variables.intVariables.Array.data[5].value has disappeared!
UnityEditor.EditorGUILayout:PropertyField (UnityEditor.SerializedProperty,UnityEngine.GUIContent,bool,UnityEngine.GUILayoutOption[])
HutongGames.PlayMakerEditor.FsmVariableEditor:DoValueField (UnityEngine.GUIContent,bool) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmVariables/Editor/FsmVariableEditor.cs:59)
HutongGames.PlayMakerEditor.FsmVariable:DoValuePropertyField (UnityEngine.GUIContent,bool) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmVariable.cs:405)
HutongGames.PlayMakerEditor.FsmVariable:DoValuePropertyField () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmVariable.cs:415)
HutongGames.PlayMakerEditor.FsmVariable:DoVariableListGUI (System.Collections.Generic.List`1<HutongGames.PlayMakerEditor.FsmVariable>) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmVariable.cs:382)
HutongGames.PlayMakerEditor.FsmInspector:DoExposedControlsGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmInspector.cs:414)
HutongGames.PlayMakerEditor.FsmInspector:OnGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmInspector.cs:223)
HutongGames.PlayMakerEditor.FsmComponentInspector:OnInspectorGUI () (at Assets/PlayMaker/Editor/FsmComponentInspector.cs:39)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
*error log2
NullReferenceException: : SerializedProperty is null
UnityEditor.EditorGUI.BeginPropertyInternal (UnityEngine.Rect totalPosition, UnityEngine.GUIContent label, UnityEditor.SerializedProperty property) (at <dc14d30a5e0540ee9311ed6df63d9074>:0)
UnityEditor.EditorGUI.DefaultPropertyField (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <dc14d30a5e0540ee9311ed6df63d9074>:0)
UnityEditorInternal.ReorderableListWrapper.Draw (UnityEngine.GUIContent label, UnityEngine.Rect r, UnityEngine.Rect visibleArea, System.Boolean includeChildren) (at <dc14d30a5e0540ee9311ed6df63d9074>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at <dc14d30a5e0540ee9311ed6df63d9074>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <dc14d30a5e0540ee9311ed6df63d9074>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <dc14d30a5e0540ee9311ed6df63d9074>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <dc14d30a5e0540ee9311ed6df63d9074>:0)
HutongGames.PlayMakerEditor.FsmVariableEditor.DoValueField (UnityEngine.GUIContent label, System.Boolean isAsset) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmVariables/Editor/FsmVariableEditor.cs:59)
HutongGames.PlayMakerEditor.FsmVariable.DoValuePropertyField (UnityEngine.GUIContent label, System.Boolean isAsset) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmVariable.cs:405)
HutongGames.PlayMakerEditor.FsmVariable.DoValuePropertyField () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmVariable.cs:415)
HutongGames.PlayMakerEditor.FsmVariable.DoVariableListGUI (System.Collections.Generic.List`1[T] fsmVariables) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmVariable.cs:382)
HutongGames.PlayMakerEditor.FsmInspector.DoExposedControlsGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmInspector.cs:414)
HutongGames.PlayMakerEditor.FsmInspector.OnGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmInspector.cs:223)
HutongGames.PlayMakerEditor.FsmComponentInspector.OnInspectorGUI () (at Assets/PlayMaker/Editor/FsmComponentInspector.cs:39)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <4161219cc34143e0a11c6faeaa303a62>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)