{{docsMenuData.data.title}}

Window Framework for Unity UI Toolkit

Troubleshooting

This list will expand as the system grows.
If you find a problem that has not been listed here then please let us know by opening a support ticket.

  • I don’t see the same thing in the demo as the docs show?

    Make sure you are in the Game View and not the Scene view, if you still do not see the initial text then make sure you have assigned the Panel Settings asset. If you don’t have a panel asset, see the unity documentation on how to create one.

  • My windows are not reopening after a start/stop of play mode.

    Make sure you have the WindowMemory enabled in the WindowFrameController -AND- that you called the ReopenWindows method at the appropriate time in your startup sequence. We have also seen a strange problem with data storage when the values for Company and Product names within the Player section of settings are left at defaults. Changing these to unique values usually fixes the issue.

    Make sure the windows you are trying to reopen are dedicated types, such as the Window Frame Settings View and the other example windows (base Window Frame types are not saved, only child types are). Also make sure you have specified the required information such as the WindowID (the parentObjectID is not technically needed but is useful for object related windows) and turned on the window frames memory setting at creation: windowId=“MyNameToRemeber” -AND-  WindowMemoryEnabled=true

    Try adding a delay to the Reload Windows method, the WindowframeController.ReopenWindows(float) signature allows for a delayed load, this gives time for all other UI elements to fully initialize

  • I don’t see the Demo Controller in the scene hierarchy while in play mode?

    The Window Frame Controller is a persistent instance so it will be listed in the Do Not Destroy area. Further Note: We are all active developers (so basically chained to the desk all day every day) therefore we will do our absolute best to answer any questions related to the Window Framework in a timely manner, just please understand that life and work happen so instant response is simply not possible.

  • I don’t see the Demo Controller in the scene hierarchy while in play mode?

    The Window Frame Controller is a persistent instance so it will be listed in the Do Not Destroy area. Further Note: We are all active developers (so basically chained to the desk all day every day) therefore we will do our absolute best to answer any questions related to the Window Framework in a timely manner, just please understand that life and work happen so instant response is simply not possible.

Common Questions

Setup is very easy, we have a video that show you how to do it in less than 10 minutes, you can view that video here:
Window Framework for UI Toolkit - Project Setup Demo
Not at all, our window reloading system is designed to be as simple as possible, all you have to do is call a method in the WindowFrameController and it will reload all windows that were open when the game was closed. We have a video that will walk you through the configuration and requirments for use. You can view that video here:
Window Framework for UI Toolkit - Adding Window Memory and Content
You sure can! Window Framework for UI Toolkit is designed to work with Unity's UI Builder, so you can create your content in the UI Builder and then use it in your windows. We have a video that will walk you through the process of creating content in UI Builder and using it in your windowsframes. You can view that video here:
Window Framework for UI Toolkit - Using UXML as Content
Yes, you can render a camera view as window content. The Window Framework for UI Toolkit does not have built in support for this, but it is possible to do with Unity's Render Texture system. You can create a render texture and assign it to a camera, then use that render texture as the background image of a visual element in your window content. This allows you to display the camera view in your window just like any other content.
Per Unity staff: Assign the camera to a render texture, and use the renderTexture as the visual element’s background image, you can read the full discussion here:
https://discussions.unity.com/t/show-camera-view-in-ui/906399
Yes, you can use Unity's Theme assets (TSS) as your StyleSheets. Since TSS files are treated the same as a USS files, they can be used in the WIndowFramework!