Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2021.2
2021.2.0b16
2022.1
Issue ID
1373389
Regression
Yes
Microsoft.Extensions.Logging Nuget Package causes errors in console when built into UWP with .NET Standard 2.1
Reproduction steps:
1. Open project "UnityNugetBugTest.zip"
2. Open Scene "SampleScene"
3. Open Build Settings in File > Build Settings
4. Select Platform "Universal Windows Platform" and build project
5. Observe the Console window
Expected result: There aren't any errors when building
Actual result: There are errors when building
Reproducible with: 2021.2.0b16, 2022.1.0a12
Not reproducible with: 2020.3.21f1, 2021.1.26f1
Could not test with: 2019.4.31f1 (Package errors in Console)
Error: UnityException: Failed to run reference rewriter with command
Note: Isn't reproducible when building with .NET Standard 2.0
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
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
Resolution Note (fix version 2022.1):
Fixed issue where UWP build process would incorrectly treat system dlls as plugins and strip them if it felt they were not needed.
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.3f1.3946