com.unity.visualscripting 2.0.0-exp.1

Experimental

com.unity.visualscripting

Source docs
Notes: processedReleased November 30, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 7000.0 (0a11)

Package Dependencies

Improvements

  • The AOT stubs and the serialized property providers are now generated as C# text instead of through `System.CodeDom`, so the package compiles when Editor assemblies target .NET (CoreCLR, net10), where `System.CodeDom` is not referenced. UUM-159555
  • Added `AotStubWriter.GetStubStatementsCode()`, which returns the C# statements of an AOT stub method body.
  • `AotStubWriter.GetStubStatements()` and `MethodInfoStubWriter.operatorTypes` are obsolete; override `GetStubStatementsCode()` instead. They are not available when Editor assemblies target .NET (CoreCLR, net10).

Bug Fixes

  • Fixed warnings such as "Unable to load System's referenced assembly Microsoft.Win32.SystemEvents" when scanning assemblies on a CoreCLR Editor. The .NET class library is no longer scanned for Editor references.
  • Fixed a VerificationException thrown on a CoreCLR Editor when analyzing generic extension methods whose type parameters cannot all be resolved from their parameter types.
  • Fixed a "Trying to destroy invalid instance" exception thrown when a persistent singleton such as the CoroutineRunner is destroyed after the assemblies were reloaded.
  • Fixed an ArgumentException thrown on a CoreCLR Editor when building the type options for a `ref struct` such as `UnityEngine.AnimationEventInfo`. A List option is no longer offered for the types that cannot be used as a generic argument.
  • Fixed a "Failed to define" warning, and the resulting missing node, for the members that take a `ref struct` parameter such as `ReadOnlySpan` on a CoreCLR Editor.
  • Fixed the class library types, such as `float` and `string`, being missing from the type options on a CoreCLR Editor. The Node Library setting refers to the class library as `mscorlib`, which is its name on Mono only.
  • Fixed the rows in the Visual Scripting Preferences page being too close together and overlapping with the Unity 7 editor theme. UUM-161607
  • Fixed scene unloaded handlers accumulating each time the Editor enters Play Mode with Domain Reload disabled.
  • Fixed compile errors such as "The type name 'GUIStyle' could not be found" in projects without the IMGUI module. The package now declares a dependency on `com.unity.modules.imgui`.
  • Fixed warnings about obsolete .NET APIs, such as `FormatterServices` and `TypeAttributes.Serializable`, when Editor assemblies target .NET (CoreCLR, net10).