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

WP8.1

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.