playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - fish

Pages: [1]
1
Playmaker Bug Reporting / Re: Array Delete At not updating array?[SOLVED]
« on: December 20, 2018, 12:51:36 PM »
Oh neat, I attempted to put this in a sub FSM so I could disable it globally when I didn't need it but with no luck. Fortunately, I did discover using the array delete action with an sub FSM gains the same results. Using this version of sub FSM https://hutonggames.com/playmakerforum/index.php?topic=18762.0 I was able to copy back the updated array thus giving me the visual change I wanted.

I'm not sure if the performance is better than using ArraySaveChanges, if not, then I'll just set up a global bool every time I call array delete at so I can disable it once I no longer need to check it.

Edit: Okay, I took things a step further and added a bool into the ArraySaveChange action. This bool simply by passes the save change when set to false. If you attach a global bool to this, you can control all of the actions in your project at once. Since "array delete at" works fine on the backend, you can enable this action when you need it and disable it on deployment to save performance. Or I believe that's how it'll work out. Don't quote me on this, I'm no programmer. :P

2
Playmaker Bug Reporting / Re: Array Delete At not updating array?[SOLVED]
« on: December 19, 2018, 01:37:11 PM »
What bug is this? I need to know if it's been addressed in 2018.3. This is too annoying to just deal with.

3
General Discussion / Re: Enum Creator wizard for non coders
« on: December 10, 2018, 06:52:12 PM »
I posted this in the bug report but I figure it would be best to post here too.

So I am getting this error with Enum Creator every time I try to open it.

Code: [Select]
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

NullReferenceException: Object reference not set to an instance of an object
HutongGames.Rotorz.ReorderableList.ReorderableListControl.PrepareState (Int32 controlID, IReorderableListAdaptor adaptor) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListControl.cs:586)
HutongGames.Rotorz.ReorderableList.ReorderableListControl.Draw (Int32 controlID, IReorderableListAdaptor adaptor, HutongGames.Rotorz.ReorderableList.DrawEmpty drawEmpty) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListControl.cs:1376)
HutongGames.Rotorz.ReorderableList.ReorderableListControl.DrawControlFromState (IReorderableListAdaptor adaptor, HutongGames.Rotorz.ReorderableList.DrawEmpty drawEmpty, ReorderableListFlags flags) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListControl.cs:184)
HutongGames.Rotorz.ReorderableList.ReorderableListGUI.DoListField[String] (IList`1 list, HutongGames.Rotorz.ReorderableList.ItemDrawer`1 drawItem, HutongGames.Rotorz.ReorderableList.DrawEmpty drawEmpty, Single itemHeight, ReorderableListFlags flags) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListGUI.cs:213)
HutongGames.Rotorz.ReorderableList.ReorderableListGUI.ListField[String] (IList`1 list, HutongGames.Rotorz.ReorderableList.ItemDrawer`1 drawItem, ReorderableListFlags flags) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListGUI.cs:293)
HutongGames.PlayMakerEditor.Ecosystem.Utils.EnumCreatorWizard.OnGUI_DoEnumDefinitionForm () (at Assets/PlayMaker Utils/Wizards/EnumCreator/Editor/EnumCreatorWizard.cs:341)
HutongGames.PlayMakerEditor.Ecosystem.Utils.EnumCreatorWizard.OnGUI_HorizontalSplitView () (at Assets/PlayMaker Utils/Wizards/EnumCreator/Editor/EnumCreatorWizard.cs:133)
HutongGames.PlayMakerEditor.Ecosystem.Utils.EnumCreatorWizard.OnGUI () (at Assets/PlayMaker Utils/Wizards/EnumCreator/Editor/EnumCreatorWizard.cs:115)
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/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
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/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:288)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:255)

I have tested this in 2018.1 (which worked) and 2018.2.18f1 (which doesn't work). Any help would be great.

4
Playmaker Bug Reporting / Enum Creator Error [FIXED]
« on: December 06, 2018, 06:28:34 PM »
So I am getting this error with Enum Creator every time I try to open it.

Code: [Select]
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

NullReferenceException: Object reference not set to an instance of an object
HutongGames.Rotorz.ReorderableList.ReorderableListControl.PrepareState (Int32 controlID, IReorderableListAdaptor adaptor) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListControl.cs:586)
HutongGames.Rotorz.ReorderableList.ReorderableListControl.Draw (Int32 controlID, IReorderableListAdaptor adaptor, HutongGames.Rotorz.ReorderableList.DrawEmpty drawEmpty) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListControl.cs:1376)
HutongGames.Rotorz.ReorderableList.ReorderableListControl.DrawControlFromState (IReorderableListAdaptor adaptor, HutongGames.Rotorz.ReorderableList.DrawEmpty drawEmpty, ReorderableListFlags flags) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListControl.cs:184)
HutongGames.Rotorz.ReorderableList.ReorderableListGUI.DoListField[String] (IList`1 list, HutongGames.Rotorz.ReorderableList.ItemDrawer`1 drawItem, HutongGames.Rotorz.ReorderableList.DrawEmpty drawEmpty, Single itemHeight, ReorderableListFlags flags) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListGUI.cs:213)
HutongGames.Rotorz.ReorderableList.ReorderableListGUI.ListField[String] (IList`1 list, HutongGames.Rotorz.ReorderableList.ItemDrawer`1 drawItem, ReorderableListFlags flags) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListGUI.cs:293)
HutongGames.PlayMakerEditor.Ecosystem.Utils.EnumCreatorWizard.OnGUI_DoEnumDefinitionForm () (at Assets/PlayMaker Utils/Wizards/EnumCreator/Editor/EnumCreatorWizard.cs:341)
HutongGames.PlayMakerEditor.Ecosystem.Utils.EnumCreatorWizard.OnGUI_HorizontalSplitView () (at Assets/PlayMaker Utils/Wizards/EnumCreator/Editor/EnumCreatorWizard.cs:133)
HutongGames.PlayMakerEditor.Ecosystem.Utils.EnumCreatorWizard.OnGUI () (at Assets/PlayMaker Utils/Wizards/EnumCreator/Editor/EnumCreatorWizard.cs:115)
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/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
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/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:288)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:255)

I have removed and reimported: Enum Creator, Playmaker and the latest Unity 2018.2 but nothing has improved. Is it on my end? Or is it a global problem?

5
Action Requests / Re: Array Changed Action!
« on: November 02, 2018, 03:31:11 PM »
I originally though of doing it the way you mentioned but I noticed assets that allow you to bind variables to gui and thought that would be a lot less work and headache. Then I noticed the changed actions and thought having this with arrays would be perfect.

Is using the changed actions too inefficient for managing the display of gui data?

6
Action Requests / Array Changed Action!
« on: November 01, 2018, 05:09:23 PM »
I believe it would be very beneficial to have an array changed action, especially if it can monitor the array based on the change of a specific index or the whole array. Just like the other changed action, it will call an event if the array is changed and store the results. Maybe add a call event if the specified index doesn't exist?

Is this something possible?

7
Playmaker Bug Reporting / Re: Unity 2017.1&2 error
« on: July 13, 2017, 03:51:23 PM »
Be sure to let the Unity API updater run when you update the project. Also make sure you have the latest version of Playmaker - 1.8.4 should run fine in 2017.1 with the Unity API updater.

Okay, I finally got it to work. After deleting many add-ons the API updater finally ran error free once I deleted uGui Proxy. No other problems, even after reinstalling everything. Strange.

8
Playmaker Bug Reporting / Unity 2017.1&2 error
« on: July 12, 2017, 03:54:52 PM »
So I upgraded to 2017.2 beta and I'm getting some nasty errors.

Code: [Select]
MissingMethodException: Method not found: 'UnityEngine.Texture2D.LoadImage'.
HutongGames.PlayMakerEditor.Gizmos.get_WanIcon () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/Gizmos.cs:51)
HutongGames.PlayMakerEditor.Gizmos.HierarchyWindowItemCallback (Int32 instanceID, Rect selectionRect) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/Gizmos.cs:95)
UnityEditor.SceneHierarchyWindow.OnGUIAssetCallback (Int32 instanceID, Rect rect) (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyWindow.cs:458)
UnityEditor.IMGUI.Controls.TreeViewController.DoItemGUI (UnityEditor.IMGUI.Controls.TreeViewItem item, Int32 row, Single rowWidth, Boolean hasFocus) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:469)
UnityEditor.IMGUI.Controls.TreeViewController.IterateVisibleItems (Int32 firstRow, Int32 numVisibleRows, Single rowWidth, Boolean hasFocus) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:621)
UnityEditor.IMGUI.Controls.TreeViewController.OnGUI (Rect rect, Int32 keyboardControlID) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:552)
UnityEditor.SceneHierarchyWindow.DoTreeView (Single searchPathHeight) (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyWindow.cs:582)
UnityEditor.SceneHierarchyWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneHierarchyWindow.cs:402)
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/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
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/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:283)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:276)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:243)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Code: [Select]
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

I believe this also shows up in 2017.1. Any idea what's going on?

9
Playmaker Help / Re: WWW action not retrieving texts correctly
« on: April 27, 2017, 04:00:23 PM »
Okay, so I finally got it to work. It seems I needed to change states via WWW action before I could use the variable. I guess it's a load order thing.

10
Playmaker Help / WWW action not retrieving texts correctly[SOLVED]
« on: April 26, 2017, 06:30:25 AM »
So I'm attempting to retrieve text from a text file on my server with the WWW action. It retrieves the text fine. Unfortunately, the text I get can't be read from the variable its places in. Any idea of what could be the problem?

11
Share New Actions / Re: String Typewriter
« on: December 22, 2014, 05:29:22 PM »
Yup, problem solved! I haven't posted much but I was watching this thread. Thanks for the PM though!

12
Share New Actions / Re: String Typewriter
« on: December 21, 2014, 07:38:06 PM »
It looks like the last letter isn't written if you use the finished event.

13
Action Requests / Changing the hierarchy order
« on: October 06, 2014, 11:23:15 AM »
Is there an action for changing the hierarchy order of gui objects in an grid layout group? Changing the position doesn't seem to have an effect. I am only capable to adding and removing objects. I wish to be able to sort the objects but their order in only determined by manually moving them in the editor. :-\

14
Playmaker Help / Re: Mouse to edge screen movement
« on: May 07, 2014, 12:00:06 PM »
Bump.

*Update, ok I manage to figure out a method that works pretty well. For those of you who might need a similar solution, I used http://hutonggames.com/playmakerforum/index.php?topic=5862.0 to get the screen position of the mouse and translate the vector 3 of the camera in the direction the mouse scrolls very easily.

15
Playmaker Help / Mouse to edge screen movement
« on: May 04, 2014, 10:55:33 AM »
Well, as the title states, I wish to know how to move the screen on a 2d plan when the mouse gets close to the edge of the screen. I can usually figure these things out but this has me stumped.

Thanks for your help in advance.

Pages: [1]