Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

2.0.0a10

Issue ID

UVSB-694

Regression

No

Undo can cause class to break until gameobject reselected

Package: Visual Scripting Bugs

-

[Original Issue Link|https://support.ludiq.io/communities/5/topics/4986-undo-can-cause-class-to-break-until-gameobject-reselected] - Needs More Information. I have seen this issue, i usually get it when adding a component to a Bolt script, unfortunately, I was unable to get a solid repo.

----

Sometimes, when undoing, the graph can vanish (not always) and the inspector changes to this:

!screenshot-1.png|thumbnail!

{code:java}
Inspector block accessor mismatch.
Started GunCam (BoltComponent) [WeaponsAll (BoltClass)].trait.f79bc6e6-0a92-4436-ba71-b6f98d1c6c45, ended GunCam (BoltComponent) [WeaponsAll (BoltClass)].
UnityEngine.Debug:LogWarning(Object)
Ludiq.Inspector:EndBlock(Accessor) (at Assets/Ludiq/Ludiq.Core/Editor/Inspection/Inspector.cs:794)
Ludiq.Inspector:EndBlock() (at Assets/Ludiq/Ludiq.Core/Editor/Inspection/Inspector.cs:779)
Ludiq.Inspector:DrawControl(Rect) (at Assets/Ludiq/Ludiq.Core/Editor/Inspection/Inspector.cs:458)
Ludiq.Inspector:DrawControlLayout(Single) (at Assets/Ludiq/Ludiq.Core/Editor/Inspection/Inspector.cs:858)
Ludiq.Persistent:OnGUI() (at Assets/Ludiq/Ludiq.Core/Editor/Inspection/Root/LudiqRootObjectEditor.cs:48)
Ludiq.PersistentRootEditorWrapper:OnInspectorGUI() (at Assets/Ludiq/Ludiq.Core/Editor/Inspection/PersistentRootEditorWrapper.cs:33)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()
{code}

Reselecting the object fixes it. I also found a class stopped working properly until Unity was restarted.

PS: There has still been no permanent loss of any graphs since the Undo Bug™ was fixed.

  1. Resolution Note:

    Bolt 2 will not be released as its own product. See https://forum.unity.com/threads/visual-scripting-roadmap-update-august-2020.951675/ for details.

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.