Search Unity

Bug Loss of node reference with instance of a prefab that use embed graph

Discussion in 'Visual Scripting' started by termway, May 26, 2023.

  1. termway

    termway

    Joined:
    Jul 5, 2012
    Posts:
    84
    I have a lot of problems with my current workflow with VisualScripting that is extremely frustrating.

    I have a prefab that contains an embed StateMachine.
    I edit the graph of this StateMachine in the prefab without any issues.
    However when I use an instance of this prefab in a scene I always need to revert the change to update the graph (even If I revert the object the override remains).
    And I also often have broken references on some random nodes in the instance of the prefab (making a modification and revert it again will often correct the problem).

    upload_2023-5-26_16-6-15.png

    This page shows that it "used" to not be supported but it is on an older version (1.6) https://docs.unity3d.com/Packages/com.unity.visualscripting@1.6/manual/vs-prefabs.html and there is no mention of this in a newer version (at least I don't find it in the 1.8 documentation)

    Has anyone else experienced this problem? What are the possible workarounds for this issue?
     
    Last edited: May 26, 2023