Search Unity

Question Script Graph not showing the values (editing or play mode)

Discussion in 'Visual Scripting' started by TheMathmagician, Mar 22, 2023.

  1. TheMathmagician

    TheMathmagician

    Joined:
    Jan 11, 2023
    Posts:
    1
    I have an issue that comes and goes seemingly at random. Sometimes when I am working on my unity project, Visual Scripting will show all of my expected values will working, and when the project is run, it will show the values being passed in and through nodes. However, more often than not, my Script Graphs remain static, where when working or when I run my program, that don't display any information about values and variables being passed through the script. I've dug through options and searched high and low for an answer but can't seem to determine what the issue is.

    Any help would be greatly appreciated!
     
  2. PanthenEye

    PanthenEye

    Joined:
    Oct 14, 2013
    Posts:
    2,079
    Runtime values and preview in general is only shown for graph instances you select in Hierarchy window, i.e. objects that have ScriptMachine or StateMachine component on them.

    If you select the graph asset in Project window, it won't show any runtime data because it doesn't exist in the scene at runtime, it's like a template.