+1
Fixed (Unreleased)

AsyncProgressBar Notfound on unity2020.1

Chaos 2 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 3

Hi,

Unity2020.1, the BackgroundWorker can't found 

UnityEditor.AsyncProgressBar

how to solve this?

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):

Commented out.
Assets/Ludiq/Ludiq.Core/Editor/Threading/BackgroundWorker.cs
Assets/Ludiq/Ludiq.Core/Editor/Tasks/Runners/BackgroundTaskRunner.cs

/*
AsyncProgressBarType = typeof(EditorWindow).Assembly.GetType("UnityEditor.AsyncProgressBar", true);
AsyncProgressBar_Display = AsyncProgressBarType.GetMethod("Display", BindingFlags.Static | BindingFlags.Public);
AsyncProgressBar_Clear = AsyncProgressBarType.GetMethod("Clear", BindingFlags.Static | BindingFlags.Public);

if (AsyncProgressBar_Display == null)
{
throw new MissingMemberException(AsyncProgressBarType.FullName, "Display");
}

if (AsyncProgressBar_Clear == null)
{
throw new MissingMemberException(AsyncProgressBarType.FullName, "Clear");
}
*/


And also commented out where using AsyncProgressBar_Display and AsyncProgressBar_Clear.

But, get errors elsewhere too.
I'm waiting for an official update.

It'll take awhile. Most 3rd party assets don't support alpha/beta versions of Unity including Bolt. These unstable versions of the engine introduce breaking changes too often, it's an inefficient use of resources. 

+1
Fixed (Unreleased)

Actually I've already fixed the compatibility issues with 2020, but they haven't been released yet. The new version should land soon hopefully!