I’ve noticed that when updating RemoteConfig the following warning is now reported in the console…
Library\PackageCache\com.unity.remote-config-runtime@1.0.1\Runtime\RCUnityWebRequest.cs(46,20): 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).
Can’t say exactly when it started, but given that it’s the runtime maybe upon updating to 2.0.0
I’m sure you’re aware, but wanted to report anyway.
Remote Config itself is 2.0.1 (which is what’s installed) but it’s dependant on Remote Config Runtime 1.0.1 (which is also installed) and it’s that package that the warning is referring to.
You may be right, but I’m not seeing “Remote Config Runtime” show up in Package Manager? I just updated from 2.0.0 to 2.0.1 and didn’t see any error messages nor did I see the runtime package mentioned.
The warning relates to an (outdated) property on UnityWebRequest that is declared in the Remote Config Runtime.
Interface and Implementation are as follows…
IRCUnityWebRequest
///
/// Indicates whether the UnityWebRequest system should employ the HTTP/1.1 chunked-transfer encoding method.
///
bool chunkedTransfer { get; set; }
RCUnityWebRequest
///
/// Indicates whether the UnityWebRequest system should employ the HTTP/1.1 chunked-transfer encoding method.
///
public bool chunkedTransfer
{
get => _unityWebRequest.chunkedTransfer;
set => chunkedTransfer = value;
}
I guess it implies it should not be assignable, but always return false. I’ve limited knowledge of HTTP & Webservers though, so who knows.