Skip to content

Unhandled exception. System.NullReferenceException #1

Description

@devang-ajnalens

Hello,

I added below code :

` DesktopMaterial desktop = new DesktopMaterial();
desktop.Start();

SK.Run(() => {
desktop.Step();
Mesh.Cube.Draw(desktop.Material, Matrix.TS(0, 0, -0.5f, 0.2f));
});`

and getting exception as below :

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at StereoKit.DesktopMirror.DesktopMaterial.Start()

Please let me know anything I'm missing?

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions