Search Issue Tracker

Won't Fix



Found in [Package]


Issue ID




Bolt 2 - Errors when using projects created with setup.bat.

Package: Visual Scripting Bugs


On opening a project created using the setup.bat files the following errors are present in the console before installation of Bolt. 
There are inconsistent line endings in the 'Assets/Bolt/Bolt.Core/Runtime/Unity/UnityAsset.cs' script. Some are Mac OS X (UNIX) and some are Windows.
This might lead to incorrect line numbers in stacktraces and compiler errors. Many text editors can fix this using Convert Line Endings menu commands.{code}
NullReferenceException: Object reference not set to an instance of an object
Unity.Bolt.ExplorerWindow._OnProjectChange () (at Assets/Bolt/Bolt.Core/Editor/Exploration/ExplorerWindow.cs:265)
Unity.Bolt.EditorApplicationUtility.OnProjectChange () (at Assets/Bolt/Bolt.Core/Editor/Utilities/EditorApplicationUtility.cs:151)
UnityEditor.EditorApplication.Internal_CallProjectHasChanged () (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
UnityEditor.AssetDatabase:CreateAsset(Object, String)
Unity.Bolt.AssetUtility:TryLoad(String, VariablesAsset&) (at Assets/Bolt/Bolt.Core/Editor/Utilities/AssetUtility.cs:102)
Unity.Bolt.EditorVariablesUtility:PrepareAsset(String) (at Assets/Bolt/Bolt.Core/Editor/_Legacy/Variables/EditorVariablesUtility.cs:43)
Unity.Bolt.EditorVariablesUtility:.cctor() (at Assets/Bolt/Bolt.Core/Editor/_Legacy/Variables/EditorVariablesUtility.cs:21)
Unity.Bolt.PluginContainer:Initialize() (at Assets/Bolt/Bolt.Core/Editor/Plugins/PluginContainer.cs:286)
Unity.Bolt.<>c:<.cctor>b__0_0() (at Assets/Bolt/Bolt.Core/Editor/Plugins/PluginContainer.cs:29)

Steps to reproduce
* git clone (e0ab62ae25135e1ded86ada35edcb4fbefb08c5a)
* Run setup.bat
* Open Unity hub and add the project Bolt.Debug.Unity2019
* Open project with Unity 2019.4.0f1

Notice issue >> Errors in the console. 

  1. Resolution Note:

    Bolt 2 will not be released as its own product. See for details.

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.