Search Issue Tracker
Fixed
Fixed in 1.2.X, 7000.0.0a1
Votes
0
Found in [Package]
1.2.X
7000.0.0a1
Issue ID
ECSB-824
Regression
No
Code Editor debugger shows different values than the Inspector when observing BlobAsset
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScenes“ Scene
3. Open the “Assets/TestScript.cs” script with Visual Studio
4. Place a breakpoint on the line 17 in the opened script
5. Open the Attach to Process window from the Visual Studio Menu bar (Debug > Attach to Process)
6. Select the “Unity Editor” and click the “OK” button in the Attach to Process window
7. Switch the Editor’s Code Optimization mode to Debug Mode by pressing Debug Button in the bottom right of the Editor
8. Enter The Play Mode
9. In the Visual Studio Locals window, observe mobDescriptions value (mobDescriptions > Items > [0] > BlobAsset > Value)
10. In the Hierarchy window, select the “SE_Char_Mob_WaterMelee_4” GameObject
11. In the Inspector window, observe the “Mob Auth” script values and compare them to the values in step 9
Expected result: The values are the same
Actual result: The values in Visual Studio do not match the values in the Editor
Reproducible with: 1.0.8, 1.0.16, 1.2.0-pre.6 (2022.3.17f1)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- The issue is also reproducible with the Rider code editor
- Raw View (mobDescriptions > Items > [0] > BlobAsset > Raw View > Value) shows the correct values
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Add comment