Search Issue Tracker
Fixed in 2017.2.X
Votes
0
Found in
2017.1.0b10
Issue ID
924070
Regression
Yes
InvalidCastException thrown when casting using UniRx and 4.6 .NET scripting runtime version
Steps to reproduce:
1. Open attached project
2. Make sure '.NET 4.6' is selected as scripting runtime version
3. Enter play mode
Expected result: 'Observable.EveryUpdate().Subscribe(_ => Debug.Log("test") ).AddTo(this);' doesn't throw InvalidCastException
Actual result: InvalidCastException is thrown
Reproducible with: 2017.1.0b1, 2017.1.0f1, 2017.2.0b1
Not reproducible with 5.5.0xMono-Runtime-Upgrade-b9
Fixed in: 2017.2.0b2, 2017.1.0f3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Add comment