[MG3.5] System.NullReferenceException' in SharpDX.Direct3D11.DLL on app-resume on W10M

Here are the issues I found in MG3.5 that is working fine in 3.4. Haven’t really dig into debugging stuff but if you guys have any thoughts, please let me know… that would be great.

Windows Phone

  • App not resuming on Windows 10 Mobile, errors below

Exception thrown: ‘System.NullReferenceException’ in SharpDX.Direct3D11.DLL
Exception thrown: ‘System.NullReferenceException’ in SharpDX.Direct3D11.DLL
Exception thrown: ‘System.NullReferenceException’ in SharpDX.Direct3D11.DLL
Exception thrown: ‘System.NullReferenceException’ in SharpDX.Direct3D11.DLL
Exception thrown: ‘System.NullReferenceException’ in SharpDX.Direct3D11.DLL
Exception thrown: ‘System.NullReferenceException’ in SharpDX.Direct3D11.DLL

I’m not sure if we have the same problem but I was having an issue as outlined here Null reference exception when calling Play on a SoundEffect or SoundEffectInstance

1 Like

Ok, SoundEffect::Play() crashing now fixed by just adding .xnb files, works like a charm!

Thanks!

With app resume on Windows 10 Mobile by pressing start then back key, I keep getting these errors…

Exception thrown: ‘System.NullReferenceException’ in SharpDX.Direct3D11.DLL

Anyone?

Tried both debug / release mode same thing happens.

I will try to clone the branch from GIT…

Ok I gave up WP8.1 as it seems to always having a problem in app resume.

I just ported my WP8.1 game to UWP… everything works flawlessly besides app resume is instant like my Android.

I’m decided to deprecate my WP8.1 and Win8 project for UWP moving forward.

Cheers!