Search Issue Tracker
Fixed in 1.1x or higher
Votes
0
Found in [Package]
preview-1.1.0
Issue ID
1162181
Regression
No
Addressables - Obsolete code used in AssetBundleProvider.cs
The file AssetBundleProvider.cs, provided as part of the Addressables package, uses obsolete code:
Library\PackageCache\com.unity.addressables@1.1.0-preview\Runtime\ResourceManager\ResourceProviders\AssetBundleProvider.cs(136,13): warning CS0618: 'UnityWebRequest.chunkedTransfer' is obsolete: 'HTTP/2 and many HTTP/1.1 servers don't support this; we recommend leaving it set to false (default).'
1. Open Unity
2. Open the attached project
3. Open Packages/com.unity.addressables/Runtime/ResourceManager/ResourceProviders/AssetBundleProvider.cs
4. Go to line 136
Expected Result:
The code does not use any features marked as obsolete.
Actual Result:
Obsolete code is used.
Tested on Windows.
Occurs on preview-1.1.0
Comments (1)
-
Sentogivents
Aug 01, 2020 07:13
Thanks for the info, it was helpful.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on __pthread_kill when initializing Vuplex WebView while entering the Play Mode
- Crash on FindSurface when adding a custom Renderer Feature to a 2D Renderer Data Asset
- [Android] [Vulkan] [UI Toolkit] Application crashes when the device is rotated when it has UI Toolkit TextField on Vulkan devices
- Crash on DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate when opening a specific project
- Crash on memset_repstos when pressing a UI button while in Play Mode
Resolution Note (fix version 1.1x or higher):
It appears the chunkedTransfer line has been wrapped in a #if !UNITY_2019_3_OR_NEWER define which should have solved this issue.