Search Issue Tracker
Won't Fix
Won't Fix in 2023.1.X
Votes
0
Found in
2021.3.6f1
2022.1.9f1
2022.2.0a19
2023.1.0a3
Issue ID
UUM-9031
Regression
No
"PlatformNotSupportedException: Operation is not supported on this platform." error thrown when using HttpClient PatchAsync
How to reproduce:
1. Open the attached project "HttpClient PatchAsync Regression (IN-8860).zip"
2. Open Assets/Scenes/SampleScene.unity
3. Enter Play Mode
Expected results: No errors in the Console window
Actual results: "PlatformNotSupportedException: Operation is not supported on this platform." error thrown in the Console window
Reproducible with: 2021.3.6f1, 2022.1.9f1, 2022.2.0a19, 2023.1.0a3
Could not test with: 2020.3.37f1 (compilation errors in the Console window)
Reproducible on: Windows 10
Comments (2)
-
phobos2077
Oct 03, 2024 09:16
This is embarrassing, Unity. I urge to reconsider fixing this. It seems the error can be averted by using HttpMethod constructor directly:
new HttpMethod("PATCH")
-
MrLucid72
Nov 15, 2023 11:14
Won't fix?? Why? This is so random -- why integrate all HTTP calls except PATCH, expose it to the end-users, have 0 docs stating that it !works, then just randomly not fix it?
This is wildly unprofessional. You want your users to code an entirely different http client *just* to patch with no reason even offered?
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
The HttpClient PatchAsync method is not supported by Unity.
Resolution Note (2023.1.X):
The HttpClient PatchAsync method is not supported by Unity.