Unity Issue Tracker - Code Editor debugger shows different values than the Inspector when observing BlobAsset
Fixed
ECSB-824
Code Editor debugger shows different values than the Inspector when observing BlobAsset
Package: Entity Component System (ECS)
Fixed
1.2.X
Won't Fix
1.0.X
This will be addressed in a later version.
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