Hi Tony,
Sorry to bother you again but I've run into a unity bug or something that means I can no longer see the Dialogue UI Template prefab in the editor. Here's what I'm seeing:
The UI layer is visible in the drop down top right, the quest tracker HUD is fine so it's not a global thing, the various parts of the UI don't seem to be mis-sized so I don't think there's a load of negative object sizes causing it. The whole UI appears completely fine in game so it only affects the editor. It also doesn't affect UI elements I've made in other places, I must have done something that only affects the Dialogue UI and only in the editor, and I have no idea what.
Any ideas?
Cheers,
Rob
Dialogue UI Template invisible
Re: Dialogue UI Template invisible
First thing I checked
Re: Dialogue UI Template invisible
Does the UI have a Canvas Group whose Alpha is set to zero, or is the Canvas component itself disabled?
Re: Dialogue UI Template invisible
I don't believe so. The Canvas is enabled on the Dialogue Manger prefab and is referenced as the default canvas for the UI.
And when the prefab is open there's nothing I can do with the canvas, although it does show as being active.
Is the environment canvas something I can get to elsewhere and fiddle with? Or is it just the linked canvas from the first image?
And when the prefab is open there's nothing I can do with the canvas, although it does show as being active.
Is the environment canvas something I can get to elsewhere and fiddle with? Or is it just the linked canvas from the first image?
Re: Dialogue UI Template invisible
The Environment canvas is a default canvas that Unity creates at runtime to show UI prefabs.
Are there any other Canvas Groups in the dialogue UI's hierarchy, maybe on the Dialogue Panel GameObject?
Do any other UIs other than the dialogue UI appear properly in the Scene view when you edit them?
Are there any other Canvas Groups in the dialogue UI's hierarchy, maybe on the Dialogue Panel GameObject?
Do any other UIs other than the dialogue UI appear properly in the Scene view when you edit them?
Re: Dialogue UI Template invisible
Thanks Tony, that's all it was. Sorry for taking up your time with something I really should have been able to spot.
Re: Dialogue UI Template invisible
No worries; sometimes an extra pair of eyes helps. Glad you found it!