Editor style issue

Hey all,

I’ve got an issue I seem to be having a hard time resolving.

I’m using some of the built in styles from the mecanim editor window yet if I have the mecanim window open and my window open my styles turn white for some odd reason, this doesn’t affect my custom styles but only the ones that are built into unity.

Example:

BreadCrumbLeft = new GUIStyle(“GUIEditor.BreadcrumbLeft”);

If I close Mecanim and restart unity my style now looks fine again…

I have tried doing:

BreadCrumbLeft = “GUIEditor.BreadcrumbLeft”;
BreadCrumbLeft = new GUIStyle(GUI.skin.GetStyle(“GUIEditor.BreadcrumbLeft”));
BreadCrumbLeft = GUI.skin.GetStyle(“GUIEditor.BreadcrumbLeft”);

Nothing seems to fix the issue, I even tried creating a whole new style like below using the textures from the built in style to no effect.

var bcl = GUI.skin.GetStyle("GUIEditor.BreadcrumbLeft");
BreadCrumbLeft = new GUIStyle(bcl)
{
	name = "BreadCrumbLeft",
	richText = bcl.richText,
	fontSize = bcl.fontSize,
	padding = bcl.padding,
	margin = bcl.margin,
	fixedHeight = bcl.fixedHeight,
	fixedWidth = bcl.fixedWidth,
	contentOffset = bcl.contentOffset,
	imagePosition = bcl.imagePosition,
	normal = { background = bcl.normal.background, textColor = Color.white },
};

Just discovered what might be the issue, but no clue as to a fix.

Seems like Unity is getting confused and loading in Non pro textures when using Pro.

When the style breaks it breaks for both the mecanim window and my own and the texture seems to be the version from non pro.