Skip to content

[Enhancement] Document or fix compiler error for Unity 6 versions lower than 6000.0.54f1 #2493

Description

@beccannlittle

Which platform is your feature request for?

No response

Description

ProjectSettings.cs line 37-41:

#if UNITY_6000_0_OR_NEWER
    var assetGuids = AssetDatabase.FindAssetGUIDs("glob:AVProVideo/Editor");
#else
    ar assetGuids = AssetDatabase.FindAssets("glob:AVProVideo/Editor");
#endif

According to Unity release notes, FindAssetGUIDs method appears to have been added in Unity 6000.0.54f1:

Image

This causes a compiler error in versions of Unity above 6000.0.0f1 and below Unity 6000.0.54f1:

error CS0117: 'AssetDatabase' does not contain a definition for 'FindAssetGUIDs'

Metadata

Metadata

Assignees

Labels

FixedA fix will be in the next release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions