playMaker

Author Topic: PM editor window freezes / performance issues after updating to 1.2.1 [SOLVED]  (Read 5553 times)

Andrew.Lukasik

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • my twitter @andrewlukasik
Hi
My performace (in PM editor window) drops down after updating to 1.2.1 very significantly. And I'm not quite sure where to start looking for causes - any ideas?

Occuring:
Only when PM Editor is opened

Possible clues:
-it occurs really often when deleting events (Unity freezes for few seconds)
-it occurs when editing actions, adding/editing states, etc. (effects same as above^)

So far checked:
Real-time error checker switched off - no change



s.o.s.
« Last Edit: December 12, 2011, 02:28:12 PM by alexchouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3639
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #1 on: October 17, 2011, 01:34:46 PM »
Did you see this in 1.2? Or did you upgrade from 1.1 to 1.2.1?
Are you seeing this in an empty/new project?
Do you have a PlayMaker/Resources directory?
Are you using version control?
How large is your project? You could try unchecking Auto-load All Prefabs in preferences, and restart Unity...

If you can send your project, that would be great. I can sign an NDA if necessary...

tobbeo

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 186
    • View Profile
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #2 on: October 17, 2011, 01:48:48 PM »
I've had a similar problem since as long as I can remember but I figured it was an unavoidable issue. My project is pretty big with probably 100+ FSMs and I can't ever leave the Playmaker graph open while I playtest the game. If I close it, it runs fine, but not otherwise. And I've turned off all debugging.

Probably should have mentioned this before but I'll try unchecking Auto-load all prefabs as well. I'm on 1.2.1 but this has been an issue since ages.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3639
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #3 on: October 17, 2011, 02:00:14 PM »
If I have a large project that shows the problem then it's easier to find optimizations. Editor performance can probably be improved, but I haven't found a good way to profile editor code in Unity, so I need a clear repro case...

tobbeo

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 186
    • View Profile
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #4 on: October 17, 2011, 02:41:44 PM »
Yeah I understand that, hmm... I'll see if I can send you the project. Let me think about it and get back to you. In the middle of some paying work right now.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3639
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #5 on: October 17, 2011, 03:58:05 PM »
Ok - thanks!

Andrew.Lukasik

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • my twitter @andrewlukasik
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #6 on: October 18, 2011, 05:06:00 AM »
Project sent :I
Hope it helps

Andrew.Lukasik

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • my twitter @andrewlukasik
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #7 on: October 18, 2011, 05:11:33 AM »
Quote
Did you see this in 1.2? Or did you upgrade from 1.1 to 1.2.1?
      I've upgraded my project from 1.1 to 1.2.1 directly

Quote
Are you seeing this in an empty/new project?
Not yet

Quote
Do you have a PlayMaker/Resources directory?
Yes

Quote
Are you using version control?
Asset Server only

Andrew.Lukasik

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • my twitter @andrewlukasik
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #8 on: October 19, 2011, 07:01:04 AM »
Any results so far maybe? This issue is slowing my project development so I would be really more than happy to help if possible :)
I want try to find causes myself but I don't know where to start really. If anyone have some thoughts on that - please share

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3639
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #9 on: October 19, 2011, 06:31:41 PM »
Did you try disabling Auto Load Prefabs in Preferences and restarting unity?

Still looking into it on my end...

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3639
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #10 on: October 19, 2011, 07:24:00 PM »
Just spent some time playing with your project and I couldn't repro any editor slowdown. There are a LOT of FSMs but the editor was running normally... so I think I need more info and repro steps.

Are you on a mac or pc?
System specs?
Any chance you could send me a screencast showing the slowdown?

Andrew.Lukasik

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • my twitter @andrewlukasik
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #11 on: October 20, 2011, 03:52:27 AM »
Did you try disabling Auto Load Prefabs in Preferences and restarting unity?

Yes, I've tried this - no results

Andrew.Lukasik

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • my twitter @andrewlukasik
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #12 on: October 20, 2011, 04:44:55 AM »
Here is my quickest way to reproduce that:

1. Open "level prototype 006"
2. Open any FSM there
3. Hold CTRL...
4. Start clicking and spawning new states as fast as possible...
5. ... vary fast it makes CPU peak for 2-5seconds each

^This is just one way to reproduce that. Because I have that same effect when trying to work very normally.

Quote
System specs?
Its PC, winxp, Intel Core 2 2GHz, 2GB RAM, Nvidia GeForce GTS 250
« Last Edit: October 20, 2011, 04:49:42 AM by Andrew_Raphael_Lukasik »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3639
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #13 on: December 11, 2011, 03:45:55 PM »
I'm taking a look at this for the next update, but I still can't repro... I ctrl-click rapidly to make lots of states but I don't see any slowdown... Are you still seeing this problem?

Andrew.Lukasik

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • my twitter @andrewlukasik
Re: PM editor window freezes / performance issues after updating to 1.2.1
« Reply #14 on: December 11, 2011, 03:52:26 PM »
Sorry I forgot to report it - in my case problem stopped to occurring with no clear reason...
So for now - i would simply cut that topic till I/someone will reproduce it again
« Last Edit: December 11, 2011, 03:54:04 PM by Andrew_Raphael_Lukasik »