Unity 2020.2.0a19 broke visual effect graph

Unity: 2020.2.0a19
URP: 8.2.0
UI Toolkit: 1.0.0-preview.6

If I try to open a *.vfx file, the visual effect graph editor does not load the file and suggests me to create a new one.

Also, a Windows popup appears asking me to choose an application to use to open the file:

In the console, this error appears:
MissingFieldException: Field ‘UnityEngine.UIElements.VisualElement.isBoundingBoxDirty’ not found.
UnityEditor.Experimental.GraphView.Scope.UpdateGeometryFromContent () (at <5b91b818930242e2a5b3695c18f530f5>:0)
UnityEditor.Experimental.GraphView.Scope.b__38_0 (UnityEngine.UIElements.TimerState t) (at <5b91b818930242e2a5b3695c18f530f5>:0)
UnityEngine.UIElements.VisualElement+TimerStateScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at Library/PackageCache/com.unity.ui@1.0.0-preview.6/Core/VisualElementScheduler.cs:324)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at Library/PackageCache/com.unity.ui@1.0.0-preview.6/Core/Scheduler.cs:360)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at Library/PackageCache/com.unity.ui@1.0.0-preview.6/Core/UIElementsUtility.cs:254)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at Library/PackageCache/com.unity.ui@1.0.0-preview.6/Core/UIElementsUtility.cs:105)
UnityEditor.RetainedMode.UpdateSchedulers () (at Library/PackageCache/com.unity.ui@1.0.0-preview.6/Editor/RetainedMode.cs:50)

Selection Groups seem to be the culprit:

I don’t know which forum is best for this kind of bug, as soon as I know more I will cross reference Unity’s answer on this.

Same thing happened to me, on Version: 2020.1.1f1.4277 with HDRP and UI builder. Any updates on fixing this?

Yes, it has been fixed in an editor update (don’t know which version for 2020.1), although it hasn’t been mentioned in the changelogs.

Thanks a bunch. I’ll try to download 2020.2 beta and see if that helps.

I’d try the latest 2020.1 if I were you, the latest betas introduced some nasty bugs that are being solved right now

I can confirm this with 2020.1.16f and UI Toolkit: 1.0.0-preview.9

removing UI Toolkit restores a working state.

I’ll send this post over to the team for you!

To chime in, there was an issue going to 2020.2 where upgrading the Visual Studio Editor package in your manifest resolves this issue.

Please update to the latest ui toolkit package available to fix the issue.

This is still happening with the latest UI Toolkit version (1.0.0-preview.9). Whenever opening a VFX graph which contains any groups, MissingFieldException: Field 'UnityEngine.UIElements.VisualElement.isBoundingBoxDirty' not found. is spammed in the console (same error as reported by @b4gn0 ).
This also happens with ShaderGraph btw. I’m using Unity 2020.1.9f1 and HDRP/VFX 8.2.0

1 Like