WindowLayouts are invalid.

Development feedback for early adopters.
mikaelwallin
Posts: 18
Joined: Wed Jul 23, 2014 12:00 pm

Re: WindowLayouts are invalid.

Post by mikaelwallin »

Diogo Teixeira wrote:
mikaelwallin wrote:In this new version when I save the scene it displays a progressbar, checking something. Is it possible for you to use the async progressbar instead? Like the lightmap- and occulsion baking.
Definitely. All these update/build processes are going to be moved into background.

I couldn't find any async progressbar on the scripting API. Could you point me to it?
mikaelwallin wrote:Thank you for an awesome product and support.
Cheers! :)
My bad. It is not available to Editor programmers. The class "AsyncProgressBar" is marked internal which makes us unable to use it.

The only possibility is using something like this one instead:
http://docs.unity3d.com/ScriptReference ... ssBar.html

And use either a seperate thread/task if possible, or coroutines.
User avatar
Diogo Teixeira
Posts: 124
Joined: Sat Aug 10, 2013 12:34 am

Re: WindowLayouts are invalid.

Post by Diogo Teixeira »

mikaelwallin wrote:My bad. It is not available to Editor programmers. The class "AsyncProgressBar" is marked internal which makes us unable to use it.

The only possibility is using something like this one instead:
http://docs.unity3d.com/ScriptReference ... ssBar.html

And use either a seperate thread/task if possible, or coroutines.
Right on. This will do nicely as a base reference. I'm gonna have to leave this for later, however. We're definitely planning to make the entire build process async and eventually progressive even.
Research & Development at Amplify Creations
Post Reply