Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X
Votes
2
Found in
2020.3.47f1
2021.3.22f1
2022.2.14f1
2023.1.0b11
2023.2.0a9
6000.0.0b11
7000.0.0a1
Issue ID
UUM-32705
Regression
No
Variables have no values in them when updating the opened scene with Unity Version Control
Reproduction steps:
1. Open the attached "New Test Project" on both machines
Steps on machine 1:
2. Create a new workspace in the Unity Version Control window
3. Commit the Project to the workspace
4. Disable "Auto Refresh" (Edit > Preferences > Asset Pipeline)
5. Open the "Script" Script and uncomment line 7
6. Open the "Scenes/SampleScene" Scene
7. Select the "GameObject" GO in the Hierarchy window
8. Set the "Test Bool" variable to "True" in the Inspector window
9. Save the "SampleScene" Scene
10. Commit the made changes in the Unity Version Control window
Steps on machine 2:
11. Repeat step 3
12. Open the "Scenes/SampleScene" Scene
13. Update the Project from the Plastic SCM
14. Right-click on the "Script" Script in the Project window and press "Refresh"
15. Select the "GameObject" GO in the Hierarchy window
16. Observe the "Test Bool" value in the Inspector window
Expected result: The "Test Bool" variable is set to "True"
Actual result: The "Test Bool" variable is set to "False"
Reproducible with: 2020.3.47f1, 2021.3.22f1, 2022.2.14f1, 2023.1.0b11, 2023.2.0a9
Reproducible on: Windows 10
Note:
- After reloading the Scene, the "Test Bool" variable is set to "True"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Crash due to null pointer dereference when UnityPlayer.UnitySendMessage() is called in onCreate
- DepthNormalPrepass or DrawDepthNormalPrepass is rendered when using the Decal renderer feature with “Technique: Screen Space” and “Use Rendering Layers”
- “Shader error in 'Hidden/VFX/.../Minimal/Render Quad': undeclared identifier 'mainTexture' at line 2198 (on d3d11)” error appears when connecting a Switch Node output to the Main Texture in VFX Graph
- Editor crashes on GfxDeviceD3D12::UploadTextureSubData2DImpl when opening the Scene view
- The Camera's Clipping Planes Far value's condition of being greater than the Near value gets enforced when typing the value
Add comment