Smart Client stop working in 2020 R3

************** Outer Exception **************

Exception type:System.NullReferenceException

Exception message:Object reference not set to an instance of an object.

Exception source:VideoOS.Toolkit

Exception Target Site: AddReferenceToSurface

at VideoOS.Toolkit.RendererToolkit.AddReferenceToSurface(IntPtr object)

at VideoOS.UI.Common.WPF.VideoPlayer.Toolkit.ToolkitWrapper.AddReferenceToSurface(IntPtr surfacePointer)

at VideoOS.UI.Common.WPF.VideoPlayer.Toolkit.VideoImage.VideoImageManager._toolkitWrapper_RenderedDataAvailable(Object sender, RenderInformationEventArgs e)

at System.EventHandler`1.Invoke(Object sender, TEventArgs e)

at VideoOS.UI.Common.WPF.VideoPlayer.Toolkit.ToolkitWrapper.HandleRenderedData(Dictionary`2 renderingInformation)

at VideoOS.Toolkit.CmRenderingHandler.HandleRenderedData(CmRenderingHandler* , map<int\,std::shared_ptr<NmToolkit::ImRendererToolkit::ImRenderingInformation const >\,std::less\,std::allocator<std::pair<int const \,std::shared_ptr<NmToolkit::ImRendererToolkit::ImRenderingInformation const > > > >* renderingInformation)

Please add a bit of information.

Have you developed a MIP SDK based plugin that causes this to happen? (It happen when you plugin is used but not otherwise?)

If yes, -

Does it happen at start-up? Does it happen when doing a certain action? If yes, which action?

Please debug and find the method call or similar that causes the exception and share the information.

You might find guidance and ideas here-

https://developer.milestonesys.com/s/article/debugging-techniques-for-Smart-Client-plugins