Skip to content

Obsolete warnings in Unity 6000.2.12+ #46

@dimamatik

Description

@dimamatik

Description of the bug

You can see different warnings about obsolete UI and Shader classes, more than 20
Some examples:

Assets\Plugins\AssetUsageDetector\Editor\SearchResultTreeView.cs(241,28): warning CS0618: 'TreeViewItem' is obsolete: 'TreeViewItem is now deprecated. You can likely now use TreeViewItem instead and not think more about it. But if you were using that identifier to store InstanceID data, you should instead opt to upgrade your TreeViews to use TreeViewItem to get the proper typing.'

Assets\Plugins\AssetUsageDetector\Editor\AssetUsageDetectorSearchFunctions.cs(647,10): warning CS0618: 'ShaderUtil.GetPropertyType(Shader, int)' is obsolete: 'Use Shader.GetPropertyType instead.'

Reproduction steps

Just open last version of asset package in last version of Unity

Platform specs

Additional info

Plugin works good but a lot of warnings are spamming in unity console...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions