Search Issue Tracker
Fixed
Votes
0
Found in
5.5.1f1
Issue ID
879882
Regression
No
Disabling object's component from Editor script does not save changes after restart
To reproduce:
1.Download and open attached project.
2.Run the editor script by going to Menu -> Reproduce and press "Disable Box Colliders".
3.Notice how box collider from Cube gameObject is disabled.
4.Save and exit Unity.
5.Load up the project again.
Expected result: changes are saved and box collider component of Cube gameObject is still disabled.
Actual result: changes are not saved and box collider component is enabled.
Reproduced with: 5.6.0b8, 5.5.1p2, 5.4.4p2, 5.3.7p2
Notes : Changes aren't registered after running the editor script. if there are any additional changes made to the project, for example added another gameObject after running the editor script changes are then registered and saved.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
Add comment