Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.3.0f3

Issue ID

987417

Regression

No

PlayerSettings.renderingPath is marked obsolete with incorrect information

Scripting

-

Reproduction steps:
1. Create new project in Unity
2. Create new C# script and open it
3. Write into it "PlayerSettings.renderingPath"
4. Select using UnityEditor
5. Observe the ErrorList - "'PlayerSettings.renderingPath' is obsolete: 'renderingPath is ignored, use UnityEditor.Rendering.TierSettings with UnityEditor.Rendering.SetTierSettings/GetTierSettings instead'"

Actual: UnityEditor.Rendering does not have methods SetTierSettings or GetTierSettings
Expected: warning should have correct information (https://docs.unity3d.com/ScriptReference/Rendering.EditorGraphicsSettings.html)

Reproduced: 5.5.6f1; 5.6.5p1; 2017.1.3f1; 2017.2.1p2; 2017.3.0p3; 2018.1.0b4; 2018.2.0a1

Comments (1)

  1. juniri_nexon

    Oct 18, 2018 06:37

    for (GraphicsTier i = GraphicsTier.Tier1; i <= GraphicsTier.Tier3; ++i) {
    TierSettings tierSettings = EditorGraphicsSettings.GetTierSettings(BuildTargetGroup.Standalone, i);
    tierSettings.renderingPath = RenderingPath.Forward;
    EditorGraphicsSettings.SetTierSettings(BuildTargetGroup.Standalone, i, tierSettings);
    }

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.