Search Issue Tracker

Fixed

Fixed in 6000.0.35f1, 6000.1.0b2

Votes

0

Found in

6000.0.32f1

6000.1.0a9

7000.0.0a1

Issue ID

UUM-91350

Regression

No

Deprecation warning suggests using UnityEditor.Android.DebugSymbols when UnityEditor.Android.UserBuildSettings.DebugSymbols should be suggested

-

Reproduction steps:
1. Open the attached “IN-87872” project
2. Open the “Script.cs” script inside the Assets folder
3. Observe the warning

Expected result: UnityEditor.Android.UserBuildSettings.DebugSymbols.level property is suggested
Actual result: Warning suggests using the UnityEditor.Android.DebugSymbols.level property

Reproducible with: 2023.3.0a19, 6000.0.32f1, 6000.1.0a9
Couldn’t test with: 2021.3.47f1, 2022.3.55f1, 2023.3.0a18 (EditorUserBuildSettings.androidCreateSymbols is not obsolete)

Reproducible on: macOS 14.6.1 (by reporter), Windows 11
Not reproducible on: No other environments tested

Note: The documentation describes “UnityEditor.Android.UserBuildSettings” as the namespace used for the “DebugSymbols” type: [Unity - Scripting API: Android.UserBuildSettings.DebugSymbols.level|https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Android.UserBuildSettings.DebugSymbols-level.html]

  1. Resolution Note (fix version 6000.1.0b2):

    [Android] Fix deprecation warning message to suggest the UnityEditor.Android.UserBuildSettings.DebugSymbols.level property instead of UnityEditor.Android.DebugSymbols.level on Unity 6.1

  2. Resolution Note (fix version 6000.0.35f1):

    [Android] Fix deprecation warning message to suggest the UnityEditor.Android.UserBuildSettings.DebugSymbols.level property instead of UnityEditor.Android.DebugSymbols.level on Unity 6.

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.