With reference to the attached video.
Every time I play the App and stop it the Visual Scripting Group boxes disappear.
To get it back I have to Change the Unity theme or restart Unity.
Seems to have more issues. After I implemented the workaround I noticed the inflow and outflow port also dissapears. 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 a in/out flow port.
Good day, my friend… I added some extra info on the issue tracker. There were some warnings, none of which I recorded properly. I also tried to reproduce but could not. I do however get regular warnings that I cannot seem to hunt down though.
Example: (I get x1 when I run and x1 when I stop, ie. same warning twice)
Font not found for path:
UnityEngine.UIElements.VisualElement:UpdateInlineRule (UnityEngine.UIElements.StyleSheet,UnityEngine.UIElements.StyleRule)
Unity.UI.Builder.VisualTreeAssetLinkedCloneTree:CloneSetupRecursively (UnityEngine.UIElements.VisualTreeAsset,UnityEngine.UIElements.VisualElementAsset,System.Collections.Generic.Dictionary2<int, System.Collections.Generic.List1<UnityEngine.UIElements.VisualElementAsset>>,UnityEngine.UIElements.CreationContext)
Unity.UI.Builder.VisualTreeAssetLinkedCloneTree:CloneSetupRecursively (UnityEngine.UIElements.VisualTreeAsset,UnityEngine.UIElements.VisualElementAsset,System.Collections.Generic.Dictionary2<int, System.Collections.Generic.List1<UnityEngine.UIElements.VisualElementAsset>>,UnityEngine.UIElements.CreationContext)
Unity.UI.Builder.VisualTreeAssetLinkedCloneTree:CloneTree (UnityEngine.UIElements.VisualTreeAsset,UnityEngine.UIElements.VisualElement,System.Collections.Generic.Dictionary2<string, UnityEngine.UIElements.VisualElement>,System.Collections.Generic.List1<UnityEngine.UIElements.TemplateAsset/AttributeOverride>)
Unity.UI.Builder.VisualTreeAssetLinkedCloneTree:CloneTree (UnityEngine.UIElements.VisualTreeAsset,UnityEngine.UIElements.VisualElement)
Unity.UI.Builder.VisualTreeAssetExtensions:LinkedCloneTree (UnityEngine.UIElements.VisualTreeAsset,UnityEngine.UIElements.VisualElement)
Unity.UI.Builder.BuilderDocumentOpenUXML:ReloadDocumentHierarchyToCanvas (UnityEngine.UIElements.VisualTreeAsset,UnityEngine.UIElements.VisualElement)
Unity.UI.Builder.BuilderDocumentOpenUXML:ReloadChildToCanvas (Unity.UI.Builder.BuilderDocumentOpenUXML,UnityEngine.UIElements.VisualElement)
Unity.UI.Builder.BuilderDocumentOpenUXML:ReloadDocumentToCanvas (UnityEngine.UIElements.VisualElement)
Unity.UI.Builder.BuilderDocumentOpenUXML:OnAfterBuilderDeserialize (UnityEngine.UIElements.VisualElement)
Unity.UI.Builder.BuilderDocument:OnAfterBuilderDeserialize (UnityEngine.UIElements.VisualElement)
Unity.UI.Builder.Builder:OnEnableAfterAllSerialization ()
Unity.UI.Builder.Builder:CreateUI ()
Unity.UI.Builder.BuilderPaneWindow:CreateUIInternal ()
Unity.UI.Builder.BuilderPaneWindow:OnEnable ()
Unity.UI.Builder.Builder:OnEnable ()
@VRGameDev just add this script to an empty GameObject and it will fix the issue for the time being
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
public class ReloadScripts : MonoBehaviour
{
public bool ReloadOnExitPlayMode;
public void OnDestroy()
{
if (ReloadOnExitPlayMode) EditorApplication.delayCall += EditorUtility.RequestScriptReload;
}
}
#endif