Search Issue Tracker
Won't Fix
Votes
44
Found in
5.0.0f4
Issue ID
676958
Regression
No
[WinRT] UnityEngine.dll is referencing Assembly-CSharp.dll
Due to this, MDIL fails to properly process structs from UnityEngine.dll used as generic parameters, thus causing InvalidCastExceptions when casting between such types.
To reproduce:
1. Open attached project. It contains the DOTween library. There is also a script that tries to cast a ITweenPlugin as an ABSTweenPlugin<Vector3, Vector3, VectorOptions>
2. Build & run for WP8.1
3. Notice the text on screen - it says "Tween 2", meaning that the cast failed (returned null)
Deploying the same solution through visual studio will output "Tween 1", meaning that the cast was successful
Does not reproduce with WP8
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- IndexOutOfRangeException occurs when entering "<a></a>" tags in a TextMeshPro UI field
- Numeric property drag cursor gets enabled in the Inspector Preview window when the window is above numeric properties
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
Add comment