playMaker

Author Topic: [SOLVED] PlayMakerGUI Make the Garbage in .exe  (Read 1993 times)

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
[SOLVED] PlayMakerGUI Make the Garbage in .exe
« 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
« Last Edit: January 30, 2019, 04:30:14 PM by eotiti »

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Re: PlayMakerGUI Make the Garbage in .exe
« Reply #1 on: January 30, 2019, 09:07:08 AM »
When play game in editor GarbageCollector not running ... but when build to exe and check Profiler GarbageCollector will Run

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Re: PlayMakerGUI Make the Garbage in .exe
« Reply #2 on: January 30, 2019, 01:31:31 PM »
Update
in unity 2018 "OnGUI " will be considered garbage
in PlayMakerGUI just turn off "Enable GUILayout " will solve the problem about Garbage
« Last Edit: January 30, 2019, 02:14:43 PM by eotiti »

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Re: PlayMakerGUI Make the Garbage in .exe
« Reply #3 on: January 30, 2019, 03:13:30 PM »
after turn off "Enable GUILayout " will cause an error not automatically send event finish on some stages

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: PlayMakerGUI Make the Garbage in .exe
« Reply #4 on: January 30, 2019, 03:34:30 PM »
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.

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Re: PlayMakerGUI Make the Garbage in .exe
« Reply #5 on: January 30, 2019, 04:29:44 PM »
Thank Alex !
I am still struggling with unity 2018 if I find anything new and conflict with playmaker I will post on the forum.