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
- “RenderSettings customReflection texture has invalid type” error keeps getting thrown even when Environment Reflections was set back to Skybox from Custom with an invalid texture
- Particle System with the custom Material breaks the Scene view when the material is using a Shader Graph with the Texture with the power of negative value
- Invalid asset path & Invalid value for font MissingAssetReference Warnings are spammed when deleting a Font used by any Element in UI Builder
- [iOS] Legacy text font fallback does not render all characters for Chinese text when deployed on devices with OS 18+
- Shadows are broken in ECS Graphics when using deeply nested object hierarchies
Resolution Note:
Can no longer reproduce on macOS or windows, Unity 2019.4.4f1, Bolt 2.0.0.a13RC. Closing...