I’m trying out the UI Builder and noticed that it does not show all builtin control types in the library panel yet. For example, Toolbar, ToolbarButton, etc. are missing. Luckily, I can add these manually to the UXML and the builder will correctly display and use these elements. So far I believe it’s alright to experiment with features in this way until all features are supported via the interface.
However, once the UI Builder window has opened the UXML file for the first time after starting Unity, it seems to create a copy in memory or some persistent cache. Now, if I edit the UXML text file in my text editor, save, refresh assets and try to re-open the file with the builder, it still shows the old version. The changes are present in the UXML text file on disk, but the builder shows a previous version. I tried entering play mode, refreshing, reimporting the UXML and closing/reopening the file via the builder, but nothing helped until I restarted Unity. After Unity was closed and reopened, the builder correctly loaded the file from disk again.
Would it be possible to force a load from disk for my use-case? It doesn’t have to be automatic, it would be fine to select File > Open and pick the file again, but then it should load the actual text file and not a cached version. This would help me experimenting with the builder, especially now in the early phase were not all features of UXML are exposed oder supported via the interface. Thank you!