Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
1
Found in
2021.2.0a18
2021.2.0a20
Issue ID
1342390
Regression
Yes
[Mono Upgrade] Console throws errors when importing a package from a scoped registry
Reproduction steps:
1. Create and open a new Unity project
2. Open the manifest.json and add a scoped registry and a package
3. Focus back into Unity Editor
Expected result: Package is imported, console is clean
Actual result: After the package is imported, there are errors in console
Reproducible with: 2021.2.0a18, 2021.2.0b1
Not reproducible with: 2019.4.28f1, 2020.3.13f1, 2021.1.13f1
Note: Errors sometimes disappear after closing and reopening the Unity Editor. The alternative inconsistent reproduction steps would be to open the user's project and observe the console.
Errors:
An unhandled exception occurred:
Exception:
Method `Mono.Cecil.Mixin.CheckModule(Mono.Cecil.ModuleDefinition)' is inaccessible from method `Mono.Cecil.Pdb.PdbReaderProvider.GetSymbolReader(Mono.Cecil.ModuleDefinition,System.IO.Stream)'
Type:
System.MethodAccessException
An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them:
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
- PlayerPropertiesChanged event fires before Player Properties are applied
- Opening Media Pop-out in “Before You Start” Tutorial throws “Styles” and “Styles_Dark” messages in the Console window
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
Resolution Note (fix version 2022.1):
Trimmed down libraries that were being unnecessarily included into the Editor's C# runtime profile which was causing conflicts with user projects.
Fixed in 2022.1.0a10
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b13