Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

2.0.0a12

Issue ID

UVSB-867

Regression

No

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. 
{code:java}
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}
{code:java}
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)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(RuntimeTypeHandle)
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)
UnityEditor.EditorApplication:Internal_CallDelayFunctions(){code}
!image-2020-06-17-16-37-00-669.png!

Steps to reproduce
* git clone git@github.cds.internal.unity3d.com:unity/com.unity.bolt.git (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 https://forum.unity.com/threads/visual-scripting-roadmap-update-august-2020.951675/ 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.