You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do I understand this correctly that it is because defaultIcon.png is placed in Resources/defaultIcon.png when NuGetForUnity is installed using .unitypackage install method and not with the UPM / GIT install method where it is placed in Editor/Resources/defaultIcon.png
Description
Asset
defaultIcon.png
uses the Resources API to load the asset, in theNugetWindow
file causing the file to be included in the built game client.Resources API https://docs.unity3d.com/ScriptReference/Resources.html
Alternatively, the AssetDatabase API should be more applicable for editor-only resources to be utilised.
https://docs.unity3d.com/ScriptReference/AssetDatabase.LoadAssetAtPath.html
The text was updated successfully, but these errors were encountered: