- Home /
WinRTBridge.winmd exception
Got this unhandled exception while creating a Windows Store app on Visual Studio (type D3D11 C#, SDK 8.0):
A first chance exception of type 'System.NullReferenceException' occurred in WinRTBridge.winmd
Any clues?
$$anonymous$$essages from Visual Studio's console:
First-chance exception at 0x75D14B32 in Template.exe: $$anonymous$$icrosoft C++ exception: [rethrow] at memory location 0x00000000. First-chance exception at 0x75D14B32 in Template.exe: $$anonymous$$icrosoft C++ exception: [rethrow] at memory location 0x00000000. A first chance exception of type 'System.TypeLoadException' occurred in WinRTBridge.winmd [2.847007 / 3.272919] - $$anonymous$$ono$$anonymous$$anager::FillCommonScriptingClasses begin... [2.847007 / 3.272919] - $$anonymous$$ono$$anonymous$$anager::FillCommonScriptingClasses begin... A first chance exception of type 'System.NullReferenceException' occurred in WinRTBridge.winmd An exception of type 'System.NullReferenceException' occurred in WinRTBridge.winmd but was not handled in user code Additional information: Object reference not set to an instance of an object. The program '[2576] Template.exe' has exited with code 0 (0x0).
BU$$anonymous$$P
I have the same issue, the project works if i enable "Unity C# Projects"
Answer by apex_skynet · Aug 22, 2018 at 06:47 PM
I have a similar problem that started happening when I updated to a newer version of Unity. I haven't figured it out yet but here is my debug log:
'Nimoy Chess.exe' (CoreCLR: DefaultDomain): Loaded 'c:\data\Programs\WindowsApps\Microsoft.NET.CoreRuntime.1.1_1.1.25915.0_x86_8wekyb3d8bbwe\System.Private.CoreLib.ni.dll'. Cannot find or open the PDB file. 'Nimoy Chess.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\NimoyChessVS.Release_x86.alexj\entrypoint\Nimoy Chess.exe'. Symbols loaded. 'Nimoy Chess.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\NimoyChessVS.Release_x86.alexj\System.Runtime.dll'. Cannot find or open the PDB file. 'Nimoy Chess.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\data\Programs\WindowsApps\Microsoft.NET.CoreRuntime.1.1_1.1.25915.0_x86_8wekyb3d8bbwe\mscorlib.ni.dll'. Cannot find or open the PDB file. 'Nimoy Chess.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\NimoyChessVS.Release_x86.alexj\WinMetadata\Windows.winmd'. Module was built without symbols. 'Nimoy Chess.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\NimoyChessVS.Release_x86.alexj\UnityPlayer.winmd'. Module was built without symbols. 'Nimoy Chess.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\NimoyChessVS.Release_x86.alexj\System.Runtime.InteropServices.WindowsRuntime.dll'. Cannot find or open the PDB file. 'Nimoy Chess.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\NimoyChessVS.Release_x86.alexj\System.Runtime.WindowsRuntime.dll'. Cannot find or open the PDB file. 'Nimoy Chess.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\NimoyChessVS.Release_x86.alexj\WinRTBridge.winmd'. Cannot find or open the PDB file. 'Nimoy Chess.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\NimoyChessVS.Release_x86.alexj\BridgeInterface.winmd'. Module was built without symbols. Exception thrown: 'System.TypeLoadException' in WinRTBridge.winmd 'Nimoy Chess.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\NimoyChessVS.Release_x86.alexj\System.Diagnostics.StackTrace.dll'. Cannot find or open the PDB file. Exception thrown: 'System.TypeInitializationException' in WinRTBridge.winmd Exception thrown: 'System.TypeInitializationException' in WinRTBridge.winmd Exception thrown: 'System.TypeInitializationException' in Nimoy Chess.exe Activation of the Windows Store app 'NimoyChess_pzq3xp76mxafg!App' failed with error 'Windows was unable to communicate with the target application. This usually indicates that the target application's process aborted. More information may be available in the Debug pane of the Output window (Debug->Windows->Output)'. The program '[0x16E4] Nimoy Chess.exe' has exited with code -529697949 (0xe06d7363) 'Microsoft C++ Exception'.
Your answer
![](https://koobas.hobune.stream/wayback/20220613123353im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to get rid of these weird border lines around my code? (Visual Studio) 1 Answer
Visual studio Database 0 Answers
Visual Studio Question 0 Answers