Window Framework for Unity UI Toolkit
Troubleshooting
Problem: I don’t see the same thing in the demo as the docs show?
Answer: 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.
Problem: My windows are not reopening after a start/stop of play mode.
Answer: 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
Problem: I don’t see the Demo Controller in the scene hierarchy while in play mode?
Answer: 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.
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.