Unity-Technologies / Addressables-Sample

Demo project using Addressables package
1.29k stars 298 forks source link

In IDE, I can use editorAsset through AssetReference, and there are no errors when loading scripts in IDE or Unity. However, during build, Unity prompts me that AssetReference does not include the definition of editorAsset #90

Open Mayfly777w opened 9 months ago

Mayfly777w commented 9 months ago

In IDE, I can use editorAsset through AssetReference, and there are no errors when loading scripts in IDE or Unity. However, during build, Unity prompts me that AssetReference does not include the definition of editorAsset

error CS1061: 'AssetReference' does not contain a definition for 'editorAsset' and no accessible extension method 'editorAsset' accepting a first argument of type 'AssetReference' could be found (are you missing a using directive or an assembly reference?)

(These words are translated through a translator) W0Q YF1M6 JPV}{$GH@KV_J