Windows Universal 8.1 (Phone): Use of undefined keyword value 1 for event TaskScheduled

Greetings from Brazil!
I’m facing the following problem:
When I try to run my game on my Windows Phone 8.1 device from Visual Studio, I always get an ArgumentException on the first line of “GetSplashBackgroundColor” method (called on the constructor of the MainPage class).

I’ve been trying to fixthis for many days but still unsuccessful.
Can anyone help?

Here’s some details:

  • My PC: Windows 10 Home
  • Device: Microsoft Lumia 435 (Windows Phone 8.1 Update)
  • Unity 5.5.0f3
  • Visual Studio Community 2015 Update 3
  • The exception is thrown only on Windows Phone (on Windows Dektop it runs normally).

That is not a crash. You can continue past that exception, and if you deselect “Break when this exception type is thrown” checkbox, VS will not break when it’s thrown.

@Tautvydas-Zilys after more than 10 days, IT WORKED!
I got UnityPlayer.log file through Windows Phone Power Tools and the log says “PlayerInitEngineGraphics: GPU not supported; Your GPU (Qualcomm Adreno 305) or driver doesn’t support linear rendering”.
So I went to Build Settings > Player Settings > Other Settings > Color Space and changed from Linear to Gamma, built a new Visual Studio project and it worked!
Thank you very very much! :slight_smile: