Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.2.0b10
2023.1.0a15
Issue ID
UUM-17163
Regression
Yes
"System.Reflection.TargetInvocationException" is thrown when "Opsive.Shared.Editor.UIElements.dll" is included in the project
How to reproduce:
Open the attached project "My project (1).zip"
Expected results: No errors thrown in the Console window
Actual results: "System.Reflection.TargetInvocationException" is thrown in the Console window
Reproducible with: 2022.2.0a4, 2022.2.0b10, 2023.1.0a15
Not reproducible with: 2020.3.41f1, 2021.3.12f1, 2022.1.20f1, 2022.2.0a3
Reproducible on: Windows 10
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
- Crash on "The GUID inside 'Assets/asset.png.meta' cannot be extracted by the YAML Parser." when opening the project
- Shadows disappear when looking at a certain angle in Scene view and using Cloud Shadows with Volumetric Clouds
- StackOverflowException freezes or silently crashes the Editor
- Microsoft Surface Device freezes when detaching and reattaching physical keyboard attachment to a Microsoft Surface device in Standalone Player for Windows
- Shadows are cast with artifacts on GameObjects when the light type is set to Point
Resolution Note:
When referencing individual DLLs from Unity modules, there is a risk that precompiled code gets broken when types are moved from a module to another.
Referencing "monolithic" Unity DLLs which contain all the types allows you to be protected from that kind of issue. These DLLs are located in the Unity installation folder (Managed/UnityEngine.dll and Managed/UnityEditor.dll).