1
Vote

MousePickEnabled="True" on PhysicsSprite crash

description

When MousePickEnabled is set to True explicitly on a PhysicsSprite object via XAML, the app crashes.

The problem is located in the PhysicsSprite MousePickEnabled property setter. The _physicsCanvas instance is null. Even attempts to use the PhysicsUtilities.FindPhysicsCanvas(this) method don't work.

Removing the string attachment does work, but it's a shame to not have it available.

comments