Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.7.3

Issue ID

UVSB-1859

Regression

No

[Bolt] Creating new State Graph on new game object doesn't mark scene as dirty

Package: Visual Scripting

-

*Reproducible on:*
* VS version: 1.7.3
* Unity version: 2021.2.0b13
* Platform: Win 10, macOS Big Sur and Ubuntu 20.04

*Steps to Reproduce:*
# Create a new project
# Save the current Scene (SampleScene)
# Go to Winfows->Visual Scripting->Visual Scripting graph
# Click the arrow next to Create new Cript/State graph
# Click ..on new GameObject

*Actual Outcome:*
* When the user creates a new script/state graph on a new GameObject the scene does not have the * that will indicate that change had been made, therefore this new script graph on the new game object will never be saved/created
* If the user Creates or just clicks on a different scene (or anywhere else) and comes back to this scene the newly created game objects will not be there.

*Expected Results:*
* The scene where changes are made should have the * indicating this, so the user can decide if it will save them or not.

* Steps From The user:*
1. Open the user's attached project "2021.2 Beta.zip"
2. Load the "bug" Scene
3. Click Window > Visual Scripting > Visual Scripting Graph
4. In the opened Visual Scripting window click on the arrow near "Create new State Graph"
5. Click "...on new game object"
6. Save Graph
7. Notice that a new Script Graph GameObject appeared

Expected result: "bug" Scene is marked as dirty
Actual result: "bug" Scene is not marked as dirty

Reproducible: 1.7.1, 1.7.3 (2021.2.0b13, 2022.1.0a10)
Could not test with: 2019.4.30f1, 2020.3.19f1 (Visual Scripting not supported), 1.6.1 (2021.1.22f1) (there is no Create new State Graph on new game object option)

Notes:
- After reloading the "bug" Scene last created Script Graph GameObject dissapears

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.