App UI (unity's ui toolkit framework)

I accidentally came across this frame work. App UI | App UI | 1.0.6 Did anybody use it and is at a smart move to start using it or will there still come lots of changes to this framework?

6 Likes

I was also surprised to stumble upon this by luck - why wasn’t there any official news about this? The package is not in preview (is it?) so it seems like a major release of functionality went silent. I’d be interested to know why, because right now it leaves me wondering if it’s production-ready or not.

In any case, that framework looks amazing Can’t wait to use it.

Thanks for posting, I certainly wouldn’t have found it otherwise. That looks really interesting.
I am wondering why this is a seperate package from the UI Toolkit, because it seems this package provides features that are on the roadmap for UI Toolkit, such as Localization or World space canvas! (according to the changelog at least)

1 Like

just found it’s existance after reading the release notes for 2022.3.19, took it for a quick spin, really interesting project, targetted at React developers, with some great components and ways of keeping everything reactive and includes an implementation of the Redux data binding system.

No way to use the UI Builder visual editor as far as I can tell, everything needs to be architectured via code. I’m guessing its it’s own package as its so focused on providing a React / Redux experience it would create a lot of friction for your average UI Toolkit user…

@benoitd_unity do you know if App UI elements will ever be usable in the UI Builder? Or are they going to just be their own thing?

Without specifically addressing the AppUI use case, we want to make the UI Library extensible so it can display other sources of controls, such as AppUI.

7 Likes

Would it be smart to use AppUi already or are there still many changes in its roadmap?I was working on a simple ui framework myself, but rather wouldnt reinvent the wheel:)

Hi all!
Wow this was discovered fast. It was intended as an internal release.
We won’t be giving any external support on it and it’s a use it at your own risk.

That being said, I think it’s awesome to see people interested in this framework!

cheers and best of luck <3

7 Likes

I found this because it seems like it was officially added to 2023.3.0b9

9678503--1379792--upload_2024-3-4_16-46-14.png

2 Likes

I’m not sure what did you guys expect exactly, but it is publicly used in the Muse Behavior.

After hyping that AI abomination it was really thought it goes unnoticed?

Even though this is a use at your own risk, I hope at least that this is continued to be updated, been hoping for quite a while for something like this for Unity.

At least with the sample projects imported, the controls exist in the UI Builder under Library, Project, Custom Controls

What do you mean? It’s an official release.
According to https://docs.unity3d.com/Manual/upm-lifecycle.html, released packages have been verified and “undergone thorough testing.” Since the package is no longer in the “pre-” phase, claiming it as an internal release makes no sense.

@BackgroundMover what version are you using to see that? Running 2022.3.17 I have a few of the sample templates showing but they’re all “broken” templates

Yeah I thought that might be the case when I saw the screenshot said “CD Projekt Red”. :stuck_out_tongue:

From the documentation and extensive samples, it seems like the AppUI package was developed with general users in mind.

At least this package has features that many users will need. This should be officially supported, not just for internal use.

4 Likes

This looks amazing.

1 Like

That said, it seems like the package is not importing correctly in Unity 2022.3.15f1.

.tss and .uss assets don’t seem to get imported, the Unity.AppUI.MVVM namespace seems broken too.

Anyone had better luck?

in 2023.3.0b10 it seems to work without problems (so far) in an earlier version (b01 if i remember good), there were some minor issues

The .tss and .uss files are UI-Toolkit files, I won’t see why they could not be imported if UI-Toolkit supports this Unity version. From my understanding of the package doc you have to choose the right theme in the Theme dropdown of UI Builder to display correctly elements. And to use them in your scene you need to use the App UI.tss file in your PanelSettings.

Looking at the samples, I realized assembly definition files for extra features - such as MVVM - have their auto-reference property set to false. That means you need to create your own assembly definition file and reference explicitly the App UI features inside. That’s actually a good idea IMO, you don’t pollute your project with unnecessary code. The provided samples give an idea about how to setup your project.

I wish the package would come with its own Unity Project Template from the Hub to kickstart an App UI application, maybe it is on the roadmap? :stuck_out_tongue: