Search Issue Tracker
By Design
Votes
0
Found in
5.3.1p1
Issue ID
757406
Regression
No
Script value in the inspector reverts to default after renaming public field in the script
Steps to reproduce:
1. Download and import attached project. "PublicValueRenaming.zip"
2. Open scene: main
3. Select game object: obj
4. In the Inspector window: Change value field in test script to something not 5.
5. Edit that script in mono or visual, rename or refactor rename it to something else not "Value".
6. Inspect that field in the Inspector window.
Expected result: value of that field stays the same after renaming it.
Actual result: value of that field reverts back to default after renaming it.
Reproduced on: 5.4.0b1, 5.3.1p1, 5.2.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Add comment