Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.4.11f2

Issue ID

UVSB-969

Regression

Yes

Import Bolt package into a project that has no packages/modules produces errors because Bolt needs UGUI.

Package: Visual Scripting

-

When I import the Bolt package into a project that has no packages/modules imported I get an error because Bolt needs UGUI.
Also, the following exception is thrown which references a local path on @rohit.moni’s computer
{code:java}
NullReferenceException: Object reference not set to an instance of an object
Ludiq.PluginManifest.get_savedVersion () (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Ludiq.Core/Editor/Plugins/PluginManifest.cs:39)
Ludiq.PluginManifest.get_versionMismatch () (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Ludiq.Core/Editor/Plugins/PluginManifest.cs:48)
Ludiq.PluginContainer.Initialize () (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Ludiq.Core/Editor/Plugins/PluginContainer.cs:196)
Ludiq.PluginContainer..cctor () (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Ludiq.Core/Editor/Plugins/PluginContainer.cs:17)
Rethrow as TypeInitializationException: The type initializer for 'Ludiq.PluginContainer' threw an exception.
Ludiq.EditorApplicationUtility.OnHierarchyChange () (at C:/Users/RohitMoni/Documents/Repos/bolt/Package/Ludiq.Core/Editor/Utilities/EditorApplicationUtility.cs:152)
UnityEditor.EditorApplication.Internal_CallHierarchyHasChanged () (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:340)
{code}

I know many users have the default set of packages installed in their projects, but many (like me) will keep it trimmed to the bare minimum and thus might not have UGUI installed. And next in the chain, UGUI has a dependency on IMGUI which has not been specified in package.json, but it looks like that has been fixed in 2020.1.2f1 (I’m on 2019.3).

  1. Resolution Note:

    UGUI dependency added to package definition

Comments (1)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.