Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: eotiti on January 30, 2019, 07:42:33 AM
-
I use unity 2018.3
Playmaker 1.9.0p6
The object "PlayMakerGUI" create the Garbage when i check profiler
if i remove "PlayMakerGUI" every thing fine
please check the image attach
-
When play game in editor GarbageCollector not running ... but when build to exe and check Profiler GarbageCollector will Run
-
Update
in unity 2018 "OnGUI " will be considered garbage
in PlayMakerGUI just turn off "Enable GUILayout " will solve the problem about Garbage
-
after turn off "Enable GUILayout " will cause an error not automatically send event finish on some stages
-
Enable GUILayout shouldn't affect event sending, it just sets useGUILayout:
https://docs.unity3d.com/ScriptReference/MonoBehaviour-useGUILayout.html
Are you using any GUILayout actions?
If you're not using any GUI or GUILayout actions you can safely delete PlayMakerGUI. Also, uncheck PlayMaker Editor > Preferences > Auto Add PlayMakerGUI to Scene.
PlayMakerGUI is also currently needed to draw State Labels. We will be transitioning to a new uGUI solution for State Labels and other debug info soon, at which point we'll start phasing out PlayMakerGUI.
I'll add more info about PlayMakerGUI to the docs.
-
Thank Alex !
I am still struggling with unity 2018 if I find anything new and conflict with playmaker I will post on the forum.