{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/unityplugins/issues/21","labels_url":"https://api.github.com/repos/Microsoft/unityplugins/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/unityplugins/issues/21/comments","events_url":"https://api.github.com/repos/Microsoft/unityplugins/issues/21/events","html_url":"https://github.com/Microsoft/unityplugins/issues/21","id":114724354,"number":21,"title":"Issue getting VideoAdsSample to display ads when built as Windows Store App","user":{"login":"ScottHavird","id":4729905,"avatar_url":"https://avatars.githubusercontent.com/u/4729905?v=3","gravatar_id":"","url":"https://api.github.com/users/ScottHavird","html_url":"https://github.com/ScottHavird","followers_url":"https://api.github.com/users/ScottHavird/followers","following_url":"https://api.github.com/users/ScottHavird/following{/other_user}","gists_url":"https://api.github.com/users/ScottHavird/gists{/gist_id}","starred_url":"https://api.github.com/users/ScottHavird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScottHavird/subscriptions","organizations_url":"https://api.github.com/users/ScottHavird/orgs","repos_url":"https://api.github.com/users/ScottHavird/repos","events_url":"https://api.github.com/users/ScottHavird/events{/privacy}","received_events_url":"https://api.github.com/users/ScottHavird/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kevinash","id":4721977,"avatar_url":"https://avatars.githubusercontent.com/u/4721977?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinash","html_url":"https://github.com/kevinash","followers_url":"https://api.github.com/users/kevinash/followers","following_url":"https://api.github.com/users/kevinash/following{/other_user}","gists_url":"https://api.github.com/users/kevinash/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinash/subscriptions","organizations_url":"https://api.github.com/users/kevinash/orgs","repos_url":"https://api.github.com/users/kevinash/repos","events_url":"https://api.github.com/users/kevinash/events{/privacy}","received_events_url":"https://api.github.com/users/kevinash/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-03T01:39:11Z","updated_at":"2015-11-09T22:49:04Z","closed_at":null,"body":"Issue:\r\nI am not able to see Video Ads when I deploy the Unity VideoAdsSample project as a Windows Store App.  Below are the steps I am taking and the results.\r\n\r\n1. Ran the PowerShell script successfully.\r\n2. Opened the Unity Video Ad Sample project unityplugins-master\\Samples\\Advertising\\VideoAdsSample\r\n3. Imported unityplugins-master\\UnityPackages\\Microsoft.UnityPlugins.Advertising\r\n4. I attempted to build the project as Window Store app and received the attached error \r\n<img width=\"1188\" alt=\"unitybuilderror\" src=\"https://cloud.githubusercontent.com/assets/4729905/10899232/b7ccda4c-81a0-11e5-8ace-c5d2e516f94d.PNG\">\r\n\r\n5. I was able to resolve the issue by changing the platforms for plugins from \"Any Platform\" to \"Editor\" on Assets/Plugins/Microsoft.UnityPlugins.Advertising \r\n<img width=\"582\" alt=\"advertisingdllplugin_editor\" src=\"https://cloud.githubusercontent.com/assets/4729905/10899240/cdbed83c-81a0-11e5-9309-7d4f409a91ee.PNG\">\r\n\r\n6. I was then able to build for the Window Store\r\n7. I added Microsoft.UnityPlugins.Utils.Initialize((action) => AppCallbacks.Instance.InvokeOnAppThread(new AppCallbackItem(() => action()), false)) after Window.Current.Activate() within App.xaml.cs \r\n8. I rebuilt the solution for Release x86 and received the following error message. I have attached a screenshot and the output for Build and Debug.\r\n<img width=\"901\" alt=\"windows10applicationerror\" src=\"https://cloud.githubusercontent.com/assets/4729905/10899262/0f850bce-81a1-11e5-8bdd-675410fb63eb.PNG\">\r\n\r\n**************** BEGIN Output_Build.txt *****************\r\n1>------ Build started: Project: VideoAdsSample, Configuration: Release x86 ------\r\n1>  UnityInstallationDir \"C:\\Program Files\\Unity\\Editor\".\r\n1>  UnityWSAPlayerDir \"C:\\Program Files\\Unity\\Editor\\Data\\PlaybackEngines\\metrosupport\".\r\n1>  UnityProjectDir \"C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\".\r\n1>  Copying unprocessed assemblies...\r\n1>  Running AssemblyConverter...\r\n1>  AssemblyConverter done.\r\n1>  VideoAdsSample -> C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\VideoAdsSample.exe\r\n1>C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v14.0\\AppxPackage\\Microsoft.AppXPackage.Targets(1778,5): warning APPX1707: No implementation file was provided for the .winmd file 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\Microsoft.Advertising.winmd'. To generate registration information in the app manifest, specify the 'Implementation' metadata on the .winmd reference item in the project file.\r\n2>------ Deploy started: Project: VideoAdsSample, Configuration: Release x86 ------\r\n2>Updating the layout...\r\n2>Copying files: Total 4 mb to layout...\r\n2>Checking whether required frameworks are installed...\r\n2>Registering the application to run from layout...\r\n2>Deployment complete (913ms). Full package name: \"VideoAdsSample_1.0.0.0_x86__pzq3xp76mxafg\"\r\n========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========\r\n========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========\r\n**************** END Output_Build.txt *****************\r\n\r\n**************** BEGIN Output_Debug.txt *****************\r\n'VideoAdsSample.exe' (CoreCLR: DefaultDomain): Loaded 'C:\\Program Files\\WindowsApps\\Microsoft.NET.CoreRuntime.1.0_1.0.23302.0_x86__8wekyb3d8bbwe\\mscorlib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\entrypoint\\VideoAdsSample.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\nSymbols for the module 'VideoAdsSample.exe' were not loaded.\r\n\r\n1. Use a debug build configuration or disable the debug option 'Enable Just My Code'. \r\n2. Check the 'Symbols' settings under debugging options.'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\WinMetadata\\Windows.winmd'. Module was built without symbols.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Runtime.InteropServices.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\UnityPlayer.winmd'. Module was built without symbols.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Runtime.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Runtime.WindowsRuntime.UI.Xaml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\Microsoft.UnityPlugins.Common.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\WinRTBridge.winmd'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\BridgeInterface.winmd'. Module was built without symbols.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Private.Uri.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Threading.Tasks.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\UnityEngine.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\Assembly-CSharp-firstpass.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\Assembly-CSharp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\UnityEngine.Networking.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\UnityEngine.UI.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.IO.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Net.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Private.Networking.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Reflection.Primitives.dll'. Module was built without symbols.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Reflection.dll'. Module was built without symbols.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Text.Encoding.dll'. Module was built without symbols.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Runtime.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Diagnostics.Debug.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\nModule information:\r\n Built with Compiler Ver '190023026'\r\n Built from '5.2/release' branch\r\n Version is '5.2.2f1 (3757309da7e7)'\r\n Release build\r\n Application type 'XAML'\r\n Used 'UWP'\r\n\r\nPlayerConnection initialized from C:/Users/scott.havird/Downloads/unityplugins-master_1.0/unityplugins-master/Samples/Advertising/VideoAdsSample/out_2015.11.02_pm/VideoAdsSample/bin/x86/Release/AppX/Data (debug = 0)\r\n\r\nPlayerConnection initialized network socket : 0.0.0.0 55179\r\n\r\nMulti-casting \"[IP] 10.0.1.6 [Port] 55179 [Flags] 2 [Guid] 1889589057 [EditorId] 4294967295 [Version] 1048832 [Id] MetroPlayerX86(DESKTOP-F93AH1S) [Debug] 0\" to [225.0.0.222:54997]...\r\n\r\nGfxDevice: creating device client; threaded=1\r\n\r\nDisabling Low Latency presentation API.\r\n\r\nDirect3D:\r\n\r\n    Version:  Direct3D 11.0 [level 11.0]\r\n\r\n    Renderer: NVIDIA GeForce GT 750M    (ID=0xfe9)\r\n\r\n    Vendor:   NVIDIA\r\n\r\n    VRAM:     1990 MB\r\n\r\nInitialize engine version: 5.2.2f1 (3757309da7e7)\r\n\r\nDisabling independent input source.\r\n\r\nLogical Screen DPI is 144.00.\r\n\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\UnityEngineProxy.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\Microsoft.UnityPlugins.Advertising.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Text.RegularExpressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.\r\n'VideoAdsSample.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\bin\\x86\\Release\\AppX\\System.Globalization.dll'. Module was built without symbols.\r\nStart-ad initiation\r\n \r\n(Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/UnityEngineDebugBindings.gen.cpp Line: 70)\r\n\r\n\r\nException: Object reference not set to an instance of an object.\r\nType: System.NullReferenceException\r\nModule: Assembly-CSharp\r\nInnerException: <No Data>\r\nAdditionalInfo:<No Data>\r\n   at mainSceneManager.Start()\r\n   at mainSceneManager.$Invoke7(Int64 instance, Int64* args)\r\n   at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)\r\n \r\n(Filename:  Line: 0)\r\n\r\n\r\nNullReferenceException: Object reference not set to an instance of an object.\r\n   at mainSceneManager.Start()\r\n   at mainSceneManager.$Invoke7(Int64 instance, Int64* args)\r\n   at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method) \r\n(Filename: <Unknown> Line: 0)\r\n\r\n\r\nNullReferenceException: Object reference not set to an instance of an object.\r\n   at mainSceneManager.RequestAd()\r\n   at UnityEngine.Events.InvokableCall.Invoke(Object[] args)\r\n   at UnityEngine.Events.InvokableCallList.Invoke(Object[] parameters)\r\n   at UnityEngine.UI.Button.Press()\r\n   at UnityEngine.UI.Button.OnPointerClick(PointerEventData eventData)\r\n   at UnityEngine.EventSystems.ExecuteEvents.Execute(IPointerClickHandler handler, BaseEventData eventData)\r\n   at UnityEngine.EventSystems.ExecuteEvents.Execute[T](GameObject target, BaseEventData eventData, EventFunction`1 functor) \r\n(Filename: <Unknown> Line: 0)\r\n\r\n\r\nNullReferenceException: Object reference not set to an instance of an object.\r\n   at mainSceneManager.ShowAd()\r\n   at UnityEngine.Events.InvokableCall.Invoke(Object[] args)\r\n   at UnityEngine.Events.InvokableCallList.Invoke(Object[] parameters)\r\n   at UnityEngine.UI.Button.Press()\r\n   at UnityEngine.UI.Button.OnPointerClick(PointerEventData eventData)\r\n   at UnityEngine.EventSystems.ExecuteEvents.Execute(IPointerClickHandler handler, BaseEventData eventData)\r\n   at UnityEngine.EventSystems.ExecuteEvents.Execute[T](GameObject target, BaseEventData eventData, EventFunction`1 functor) \r\n(Filename: <Unknown> Line: 0)\r\n\r\n\r\nTrimming D3D resources.\r\n\r\nThe program '[14168] VideoAdsSample.exe: Program Trace' has exited with code 0 (0x0).\r\nThe program '[14168] VideoAdsSample.exe' has exited with code 1 (0x1).\r\n**************** END Output_Debug.txt *****************\r\n\r\n\r\nThe output for the build shows some interesting information, line 9 from Output_Build.txt\"C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v14.0\\AppxPackage\\Microsoft.AppXPackage.Targets(1778,5): warning APPX1707: No implementation file was provided for the .winmd file 'C:\\Users\\scott.havird\\Downloads\\unityplugins-master_1.0\\unityplugins-master\\Samples\\Advertising\\VideoAdsSample\\out_2015.11.02_pm\\VideoAdsSample\\Microsoft.Advertising.winmd'. To generate registration information in the app manifest, specify the 'Implementation' metadata on the .winmd reference item in the project file.\"  Could this be why I am recieving the null reference exception?\r\n\r\nSetup:\r\nunityplugins version 1.0\r\nVisual Studio Enterpirse 2015 Version 14.0.23107.0 D14REL\r\n.NET Framework Version 4.6.00079\r\n\r\nThanks,\r\nScott"},"comment":{"url":"https://api.github.com/repos/Microsoft/unityplugins/issues/comments/155223607","html_url":"https://github.com/Microsoft/unityplugins/issues/21#issuecomment-155223607","issue_url":"https://api.github.com/repos/Microsoft/unityplugins/issues/21","id":155223607,"user":{"login":"sanjeevdwivedi","id":3850277,"avatar_url":"https://avatars.githubusercontent.com/u/3850277?v=3","gravatar_id":"","url":"https://api.github.com/users/sanjeevdwivedi","html_url":"https://github.com/sanjeevdwivedi","followers_url":"https://api.github.com/users/sanjeevdwivedi/followers","following_url":"https://api.github.com/users/sanjeevdwivedi/following{/other_user}","gists_url":"https://api.github.com/users/sanjeevdwivedi/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjeevdwivedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjeevdwivedi/subscriptions","organizations_url":"https://api.github.com/users/sanjeevdwivedi/orgs","repos_url":"https://api.github.com/users/sanjeevdwivedi/repos","events_url":"https://api.github.com/users/sanjeevdwivedi/events{/privacy}","received_events_url":"https://api.github.com/users/sanjeevdwivedi/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T22:49:03Z","updated_at":"2015-11-09T22:49:03Z","body":"Assigned to Kevin for further investigation"}}