Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
2.0.0a12
Issue ID
UVSB-859
Regression
No
InvalidCastException: Invalid variable binding in generated mode
When running the attached project in the generated mode player I get the following error.
{code:java}
InvalidCastException: Invalid variable binding: 70093842-3476-4147-9eb7-4b6941b46a3b is a System.Collections.Generic.List`1[System.String], expected System.Collections.Generic.List`1[UnityEngine.GameObject].
Ludiq.Bolt.GeneratedClass`1[TShell].BindVariable[T] (System.String guid) (at Assets/Package/Bolt.Core/Runtime/Generation/GeneratedClass.cs:55)
Ludiq.Bolt.Generated.CardSelected.Bind () (at Assets/Ludiq.Generated/Transient/Scripts/CardSelected.cs:50)
Ludiq.Bolt.BoltClassShellTrait.InstantiateGenerated (System.Func`2[T,TResult] instantiator) (at Assets/Package/Bolt.Core/Runtime/BTS/BoltClassShellTrait.cs:394)
Ludiq.Bolt.BoltClassShellTrait.InstantiateGenerated () (at Assets/Package/Bolt.Core/Runtime/BTS/BoltClassShellTrait.cs:425)
Ludiq.Bolt.BoltClassShellTrait.Instantiate () (at Assets/Package/Bolt.Core/Runtime/BTS/BoltClassShellTrait.cs:257)
Ludiq.Bolt.BoltClassShellTrait.Initialize () (at Assets/Package/Bolt.Core/Runtime/BTS/BoltClassShellTrait.cs:224)
Ludiq.Bolt.BoltUnityClassShellTrait.Awake () (at Assets/Package/Bolt.Core/Runtime/BTS/BoltUnityClassShellTrait.cs:13)
Ludiq.Bolt.BoltComponent.Awake () (at Assets/Package/Bolt.Core/Runtime/BTS/BoltComponent.cs:107)
{code}
!image-2020-06-09-15-24-43-220.png!
Note: Video Attached. I tried this on a brand new project and I get a separate error. Will log as a sperate bug.
Steps to reproduce.
* Download or clone files from [https://github.cds.internal.unity3d.com/johncrowe/Bolt_2_Test_Games/tree/InvalidCastException]
* Navigate to Window > Bolt > Tool Bar
* You now have more options besides the play button
* Click on the global runtime mode option and select generated
* Follow on-screen instructions.
* Press play
* Notice issue >> errors appear in the console.
Unity 2019.3.15f1
Bolt 2: commit 273c9bf2a3714a8868b23f7811ecd648cc80b4f3
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
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.