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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Add comment