Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.5.1-pre.5

Issue ID

UVSB-1289

Regression

No

"FileNotFoundException: Couldn't find Bolt package folder" error appears when opening Standalone Profiler

Package: Visual Scripting

-

"FileNotFoundException: Couldn't find Bolt package folder" error appears when opening Standalone Profiler in a project with Visual Scripting package

Reproduction steps:
1. Create a new project
2. Select Window/Analysis/Profiler (Standalone Process)
3. Observe the Profiler Console

Expected result: There are no errors
Actual result: "FileNotFoundException: Couldn't find Bolt package folder." error appears

{code:java}
FileNotFoundException: Couldn't find Bolt package folder.
Unity.VisualScripting.PathUtility.GetPackageRootPath () (at Library/PackageCache/com.unity.visualscripting@1.5.1-pre.3/Editor/VisualScripting.Core/Utilities/PathUtility.cs:133)
Unity.VisualScripting.PluginPaths.get_package () (at Library/PackageCache/com.unity.visualscripting@1.5.1-pre.3/Editor/VisualScripting.Core/Utilities/PluginPaths.cs:38)
Unity.VisualScripting.BoltCorePaths.get_dotNetDocumentation () (at Library/PackageCache/com.unity.visualscripting@1.5.1-pre.3/Editor/VisualScripting.Core/Plugin/BoltCorePaths.cs:14)
Unity.VisualScripting.XmlDocumentation..cctor () (at Library/PackageCache/com.unity.visualscripting@1.5.1-pre.3/Editor/VisualScripting.Core/Documentation/XmlDocumentation.cs:32)
Rethrow as TypeInitializationException: The type initializer for 'Unity.VisualScripting.XmlDocumentation' threw an exception.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <b54c5f8cbd8a46c6b18a2b3ef785ad6d>:0)
Rethrow as TargetInvocationException: Exception has been thrown by
{code}

Reproducible with: 1.5.0 - 1.5.1-pre.5 (2021.1.0b7, 2021.2.0a5)
Not reproducible with: 2018.4.32f1, 2019.4.20f1, 2020.2.5f1 (Visual Scripting is not supported)

Note: Issue is not reproducible after deleting the Visual Scripting package

  1. Resolution Note:

    Fixed console errors and exceptions thrown when opening the Standalone Profiler window

Add comment

Log in to post comment