Search Issue Tracker
Fixed
Fixed in 2021.3.16f1
Votes
0
Found in
2020.3.34f1
2021.3.3f1
Issue ID
UUM-1694
Regression
No
[Backport] [UWP] Not adding NET_STANDARD_2_0 define
How to reproduce:
1. Open the attached "New Unity Project.zip" project
2. Switch to UWP
3. Select .NET Standard 2.0 Scripting backend in Player settings
4. In Project window select Packages > Microsoft.Extensions.DependencyInjection > Microsoft.Extensions.DependencyInjection.dll
5. See define constraints in Inspector window showing "define constraint is incompatible" error
6. Open "Assembly-CSharp.csproj" file with a text editor
7. Search for .NET version in DefineConstants line
Expected result: "NET_STANDARD_2_0" constraint is present
Actual result: "NET_4_6" constraint is present
Reproducible with: 2018.4.35f1, 2019.4.27f1, 2020.3.9f1, 2021.1.8f1, 2021.2.0a17
Notes:
- Not reproducible on Standalone
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Add comment