Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
1
Found in
4.3.0b2
Issue ID
563246
Regression
No
It is difficult to register an undo for RenderSettings changes
This issue has no description.
Comments (2)
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
cmacdougall_ssv
May 18, 2022 18:43
Updated solution for modern unity with additively loaded scenes and prefab stages:
var renderSettingsInstances = Object.FindObjectsOfType<RenderSettings>();
Undo.RecordObjects(renderSettingsInstances, "Changes to RenderSettings");
BigRoy
Oct 23, 2014 12:55
This does the trick:
Object renderSettings = Object.FindObjectOfType(typeof(RenderSettings));
Undo.RecordObject(renderSettings, "Changes to RenderSettings");