Deprecation in CacheStorage - Fix Provided
alxspiker opened this issue · comments
alxspiker commented
Service
- Cache Storage
Version
Version 2.2.4
Describe the bug
request.isNetworkError
and request.isHttpError
in GPM/CacheStorage/Sample/CacheStorageSample.cs
produce a deprecation warning.
Fix:
In CacheStorageSample.cs on line 187, replace
request.isNetworkError || request.isHttpError
with
(request.result == UnityWebRequest.Result.ConnectionError) || (request.result == UnityWebRequest.Result.ProtocolError)
To Reproduce
Steps to reproduce the behavior:
- Install UI package.
Unity
2022.3.4f1
장동연 commented
Thanks for reporting the bug.
We'll fix it soon.