Search Issue Tracker
Fixed
Votes
5
Found in
5.2.1p3
Issue ID
737187
Regression
No
Prefabs will not save inspector data changes if manipulated by editor script
Steps to reproduce:
1. Open Project.
2. Open scene "Test Scene"
3. Click on the gameObject "Cube Prefab" in the Hierarchy.
4. Press the "Assign Variable" button in the Inspector tab under the "Box" component.
5. Notice the value is changed from the default "0" to "1".
6. Repeat steps 3 to 5 for the gameObject "Cube" to change it's value from "0" to "1" via the custom button.
7. Save the scene with ctrl + s
8. Goto File >> New Scene
9. Open the scene "Test Scene" again.
10. Click on the gameObject "Cube" and notice the value is still "1".
11. Click on the gameObject "Cube Prefab" and notice the value has reverted to the default "0".
Reproduced with Windows 10 (64 bit) on 5.2.1p3 (b7d18ab613bc), 5.2.2f1 (f5cc61d36935), 5.3.0b3 (b6181bece87a) and 4.6.9f1 (44099fd26189).
Comments (3)
Add comment
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
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
krakentanz
Dec 21, 2020 11:10
We seem to have the same problem in 2020.1.6f1 How is this fixed? What was the issue? How can i work around it?
aaronfranke
Jan 06, 2020 18:56
I'm encountering this in 2017.4.28f1
ChrisSpears
Oct 22, 2015 20:22
My guess is this was a conscious change. You now have to manually "Save Project" for a prefab change to stick. HORRIBLE idea in my opinion though it is probably more consistent.