|
|
@@ -134,6 +134,7 @@ public class StreamingAssetsUtility
|
|
|
return null;
|
|
|
else
|
|
|
{
|
|
|
+ Debug.Log($"WebRequest Successful: Checking local file - {File.Exists(filePath)}");
|
|
|
if(!File.Exists(filePath))
|
|
|
File.WriteAllBytes(filePath, webReq_CardImage.downloadHandler.data);
|
|
|
|
|
|
@@ -145,6 +146,10 @@ public class StreamingAssetsUtility
|
|
|
|
|
|
return sprite;
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ Debug.Log($"Failed to convert: {lError.ToString()}");
|
|
|
+ }
|
|
|
|
|
|
return null;
|
|
|
}
|