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 theWindowFrameController
-AND- that you called theReopenWindows
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 theWindowID
(theparentObjectID
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, theWindowframeController.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
Window Framework for UI Toolkit - Project Setup Demo
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
Window Framework for UI Toolkit - Using UXML as 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