Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

VariablesSaver auto-added to scene?

Discussion in 'Visual Scripting' started by vestigial, Feb 14, 2021.

  1. vestigial

    vestigial

    Joined:
    May 9, 2015
    Posts:
    190
    I have some unit tests that are breaking because of the presence of an unexpected gameobject/component. It seems com.unity.visualscripting automatically creates a gameobject with the component even if you aren't using visual scripting. Is this the expected behavior?
     
  2. ericb_unity

    ericb_unity

    Unity Technologies

    Joined:
    Nov 24, 2017
    Posts:
    65
    This is a normal behavior coming from Bolt.
    It will create a new scene called DontDestroyOnLoad and add the Variable Saver and [Debug Updater] GameObject. Even in an empty scene as long as Bolt or VisualScripting is installed in your project.
     
    Haneferd likes this.
unityunity