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)

  1. 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");

  2. BigRoy

    Oct 23, 2014 12:55

    This does the trick:

    Object renderSettings = Object.FindObjectOfType(typeof(RenderSettings));
    Undo.RecordObject(renderSettings, "Changes to RenderSettings");

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.