Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
2.0.0a12
Issue ID
UVSB-921
Regression
Yes
Selecting a game object before entering play mode stops instantiation of scene variables
If you are using variables from a Bolt Scene class, they are visable in the heirarcy, when in play mode. If you select a game object in the Hierarchy before entering playmode, this will block the generation of the scene variable container.
Video Attached.
[^SceneVariablesLostWhenGameObjectSelected.mp4]
Steps to reproduce
- Open Bolt 2.0.0.a12 with Unity 2019.4.0f.
- Create a Bolt Class and add it as a component to a game object.
- Add a Flow Graph to the class.
- Open the Flow Graph.
- In the project palette, create a Bolt Class but change the scope via the inspector to Scene.
- Add a String variable to the class and give it a value.
- Open your Flow graph.
- Add a debug.log to your graph.
- As it's input add the Scene Class string variable by dragging and droping it from the Bolt Explorer.
- Play the scene. Notice the creation of a scene variable container in the Hierarchy.
- Stop the scene and select a game object in the Hierarchy.
- Play the scene again
Notice issue >> The scene variable container is not created.
Tested Broken: 2019.4.0f1, 2.0.0a12
Tested Working: 2019.3.15f1, 2.0.0a10
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
- List item remains highlighted when selecting field in another item
- [iOS] [Android] External library generics fail during IL2CPP build
- Animator State’s Multiplier field shows a Parameter that no longer exists when the Parameter was assigned and then deleted
- Shadows disappear and come back after couple frames when using OnDemand Shadows and OnDemand Reflection
- “Delete Selected Items” is still active in the menu when Label is not selected in New Sprite Library Asset window
Resolution Note:
Can no longer reproduce on macOS or windows, Unity 2019.4.4f1, Bolt 2.0.0.a13RC. Closing...