playMaker

Author Topic: Graph view Links not visible  (Read 7714 times)

Raptor5399

  • Playmaker Newbie
  • *
  • Posts: 17
Graph view Links not visible
« on: July 28, 2013, 06:35:17 PM »
Hi, I am having a lot of difficulty trying to work in PM because I can't see what is linked to what.  The links are actually drawn, they are just so faint they do not show up on my monitors.  I have already tried restoring default settings.  I am using most recent Unity and PM versions.

The only time the links show up clearly is when Unity is in Play mode, if I pause it or stop it, the links are gone again...

Attached is an example using the light BG. Dark BG is also broken though.


Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4141
  • Official Playmaker Support
    • LinkedIn
Re: Graph view Links not visible
« Reply #1 on: July 28, 2013, 07:03:47 PM »
Strange, I haven't seen this before. I notice you're using Circuit Line styles, does it do the same thing with Bezier lines?

Raptor5399

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Graph view Links not visible
« Reply #2 on: July 28, 2013, 07:05:33 PM »
Yes it does.  Sadly I have found no workarounds.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4141
  • Official Playmaker Support
    • LinkedIn
Re: Graph view Links not visible
« Reply #3 on: July 28, 2013, 08:38:50 PM »
The line texture is stored in the dll. But there is a mechanism to override the graphics with pngs in resource folders.

I wonder if it's finding a graphic in one of your resource folders and using that instead. Do you have a line.png in your project? I assumed that Unity would only look in PlayMaker/Editor/Resources, but now that I think about it, that's probably a bad assumption...

Try putting the attached line.png file in a PlayMaker/Editor/Resources folder.

If that fixes it, I'll takes a look at the resource loader and fix it for the next update...

Raptor5399

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Graph view Links not visible
« Reply #4 on: July 28, 2013, 08:52:04 PM »
I don't have a PlayMaker/Editor/Resources folder.

I have a folder for each.
PlayMaker/Editor (there is no Resources folder within this one)
PlayMaker/Resources

Raptor5399

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Graph view Links not visible
« Reply #5 on: July 28, 2013, 08:55:56 PM »
"Do you have a line.png in your project?"

Nope.

Raptor5399

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Graph view Links not visible
« Reply #6 on: July 28, 2013, 08:58:30 PM »
Tried adding a Resources folder within PlayMaker\Editor folder and putting that image in it, also tried putting it in the PlayMaker\Editor and PlayMaker\Resources folders. No luck.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4141
  • Official Playmaker Support
    • LinkedIn
Re: Graph view Links not visible
« Reply #7 on: July 28, 2013, 10:55:44 PM »
Is it like that when you add Playmaker to a new empty project?

Raptor5399

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Graph view Links not visible
« Reply #8 on: July 28, 2013, 11:04:19 PM »
The folder structure is yes, though the links display fine.

Raptor5399

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Graph view Links not visible
« Reply #9 on: July 28, 2013, 11:14:05 PM »
Note, reimporting does not help.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4141
  • Official Playmaker Support
    • LinkedIn
Re: Graph view Links not visible
« Reply #10 on: July 28, 2013, 11:51:34 PM »
Sorry I wasn't clear. The folder structure is as expected. You would have to make the Resources folder under PlayMaker/Editor.

What I meant is, are the links visible in an empty project that you import Playmaker into?

Raptor5399

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Graph view Links not visible
« Reply #11 on: July 29, 2013, 12:01:27 AM »
Yes the links are visible in the empty project. You weren't unclear, apparently I was ;)
« Last Edit: July 29, 2013, 12:12:26 AM by Raptor5399 »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4141
  • Official Playmaker Support
    • LinkedIn
Re: Graph view Links not visible
« Reply #12 on: July 29, 2013, 01:12:02 AM »
Are you sure you don't have a texture called "line" in any resource folder? It actually wouldn't need to be a png. I can repro the problem here if I put a bad line texture in a Resources folder...

EDIT: Actually I noticed that the arrow heads are also fainter than they should be, so it's probably something else. Maybe GUIStyles somehow leaking between EditorWindows... Does this happen with only the Playmaker Editor open (no other third party windows open)?
« Last Edit: July 29, 2013, 01:14:28 AM by Alex Chouls »

Raptor5399

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Graph view Links not visible
« Reply #13 on: July 29, 2013, 01:22:12 AM »
I am sure.  I do not have a texture called "line" in any folder.

"Does this happen with only the Playmaker Editor open (no other third party windows open)?"
Yes. The Playmaker is the only third party window open, it is in fact the only window open other than the Unity standard 2by3 layout.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4141
  • Official Playmaker Support
    • LinkedIn
Re: Graph view Links not visible
« Reply #14 on: July 29, 2013, 12:21:09 PM »
Since it works in an empty project, my strategy would be to copy the project and delete stuff until it works to find the culprit... once we know what's causing it we can decide on the best fix. If you want you can send me the project to look at...