Reproduction steps:
1. Open the attached “BugRepro” project
2. Create a new Shader Graph in the Project window (Right-click > create > Shader Graph > URP > Unlit Shader Graph)
3. Open created Shader Graph
4. Create a Vector3 and Float property in the Shader Graph
5. Select Vector3 property
6. Disable the "Show In Inspector" setting and notice Scope is set to "Per Material" in Graph Inspector
7. Select the Float property
8. Select Vector3 property
9. Observe the Graph Inspector
Expected result: The Scope does not change
Actual result: The Vector3 property changed the Scope from "Per Material" to "Global"
Reproducible with: 6000.0.26f1, 6000.1.0a2
Couldn't test with: 2021.3.44f1, 2022.3.52f1 (there is no "Show In Inspector" setting)
Reproducible on: Windows 11
Not reproducible on: No other environment tested