Unity-Technologies / Addressables-Sample

Demo project using Addressables package
1.32k stars 299 forks source link

ADDR 1903 & 1904 Fixed issue where copying asset fails when asset is in a folder #50

Closed kirstenpilla closed 3 years ago

kirstenpilla commented 3 years ago

https://jira.unity3d.com/browse/ADDR-1903 https://jira.unity3d.com/browse/ADDR-1904

Fixed the logic of some string operations to account for the case where the asset is inside a folder. An error is returned if copying the asset to the variant directory fails: "Copying asset from {mainAssetPath} to variant path {newPrefabPath} failed."