Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Raptor5399 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.
-
Strange, I haven't seen this before. I notice you're using Circuit Line styles, does it do the same thing with Bezier lines?
-
Yes it does. Sadly I have found no workarounds.
-
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...
-
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
-
"Do you have a line.png in your project?"
Nope.
-
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.
-
Is it like that when you add Playmaker to a new empty project?
-
The folder structure is yes, though the links display fine.
-
Note, reimporting does not help.
-
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?
-
Yes the links are visible in the empty project. You weren't unclear, apparently I was ;)
-
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)?
-
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.
-
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...
-
Tried that last night but apparently needed to reopen the project after each delete. The culprit is the projector shadow material in standard assets, which I am using in the project. Very odd...
Assets\Standard Assets\Projectors\Sources\Materials\Shadow Material
-
Wow, it is even stranger than that.... the problem in Playmaker is because where I am using that shadow material, I have not given the material an image for the Falloff. It has an image for the Cookie but not the falloff because I didn't want one. If I set an image for the falloff and reopen the project, Playmaker is fine...
I can record a video showing this and send it to you if you want.
-
Very strange... it sounds like a Unity bug, like the shadow material leaves the editor in a bad draw state. But there might be a workaround if I can repro, so yes please, a video would be great :)
-
I have reported the bug to Unity and emailed you a video. For now, the workaround for me is to give the material a FallOff image and reopen the project.