Search Issue Tracker

Active

Votes

10

Found in [Package]

1.8.0-pre.1

Issue ID

1382391

Regression

No

[Visual Scripting] Node Group Boxes Disappear after entering and exiting Play Mode with opened Script Graph Window

Package: Bolt

-

Reproduction steps:
1. Create a new Project
2. Create a new Visual Script Graph (Right-click in Project window -> Create -> Visual Scripting -> Script Graph)
3. Open the Script Graph window by double-clicking the created Asset
4. In the Script Graph, create two new Nodes by right-clicking on the Script Graph window and selecting any Node type
5. Create a Node Group by holding CTRL + mouse1 and dragging the mouse over the created Nodes
6. Enter Play Mode with Script Graph opened
7. Exit Play Mode
8. Observe Script Graph window

Expected result: Script Graph remained unchanged after entering and exiting Play Mode
Actual result: Node Group Box has disappeared

Reproducible with: 1.7.5, 1.7.6 (2021.2.4f1, 2022.1.0a16), 1.8.0-pre.1 (2022.1.0a16)
Could not test with: 2019.4.33f1, 2020.3.23f1 (Visual Scripting Package is not available)

Comments (9)

  1. mickstv1972

    May 19, 2022 10:43

    Hi all,

    I updated Visual Scripting to 1.7.8 using Package Manager - Unity Registry and it looks like the problem has been fixed.

    currently using Unity 2021.3.0f1 VS 1.7.8

  2. LeFoV

    May 07, 2022 20:45

    Issue reproductible with 2021.2.17f1 and 2022.1.0b16, super annoying issue as group node are just not showing properly and makes big graph very not friendly

  3. BlackManatee

    Apr 30, 2022 22:04

    Follow-up: I created a virtually identical project with the Built-In Render Pipeline, as mentioned in the previous post. The same scene that had caused problems in the Universal Rendering Pipeline version (group missing/invisible after Play occurs in editor) worked perfectly when opened and played in the project using the Built-In Render Pipeline.

    Obviously it's not a valid solution for folks who need to use URP, but perhaps the pipeline connection may help with tracking down the bug. ;)

  4. BlackManatee

    Apr 30, 2022 21:28

    Still a problem with v2021.3 (URP). Perhaps just a coincidence, but I didn't have this problem with a previous project (same version of Unity) that used the built-in pipeline.

  5. mickstv1972

    Apr 13, 2022 23:57

    Hi all, the same issue happens on the new 2021 LTS.

    Sadly I have go back to 2021.1 until the issue is fixed....

  6. Cyrus-lam

    Mar 17, 2022 03:17

    I have the same issue the Group box is keep disappear and popping GUI Error

  7. tigme

    Nov 23, 2021 07:23

    I tried to reproduce the steps for the in/out ports disappearing. All I did as I remembered was load the project and double-click an open area on the visual scripting canvas to maximize the view. I did it a few times when I noticed the issue. After running and stopping the project the in/out flow port reset and after that, I could not reproduce it. I think this is an unrelated issue. If I can reproduce it I will file another bug.

  8. tigme

    Nov 23, 2021 07:08

    Seems to have more issues. After I implemented the workaround I noticed the inflow and outflow port also disappears. Not that serious but does look a bit odd though. See attached image with red circles to show where there should be visual indicators for an in/out flow port.

    Please see the image I uploaded to the forum below:
    https://forum.unity.com/attachments/download-png.959821/

  9. tigme

    Nov 22, 2021 10:18

    https://forum.unity.com/threads/unity-visual-scripting-group-node-boxes-disappear-after-running-app-in-unity.1198909/

    For now, I'm using the workaround script (ReloadScript.cs) attached to empty GameObject as proposed by "Trindeberg" on the link above.

    Contents of ReloadScript.cs
    #if UNITY_EDITOR
    using UnityEditor;
    using UnityEngine;

    public class ReloadScripts : MonoBehaviour
    {
    public bool ReloadOnExitPlayMode;

    public void OnDestroy()
    {
    if (ReloadOnExitPlayMode) EditorApplication.delayCall += EditorUtility.RequestScriptReload;
    }
    }
    #endif

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.