Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception while creating graphics device on Windows #492

Open
Adham084 opened this issue Mar 31, 2023 · 0 comments
Open

Exception while creating graphics device on Windows #492

Adham084 opened this issue Mar 31, 2023 · 0 comments

Comments

@Adham084
Copy link

I was following the getting started tutorial and an exception keeps happening while creating the graphics device.
My graphics card supports up to feather level 10_1, idk if this is the problem.

Exception details:
Exception has occurred: CLR/System.NullReferenceException
An unhandled exception of type 'System.NullReferenceException' occurred in Vortice.Direct3D11.dll: 'Object reference not set to an instance of an object.'
at Vortice.Direct3D11.D3D11.RawD3D11CreateDeviceNoContext(IntPtr adapterPtr, DriverType driverType, DeviceCreationFlags flags, FeatureLevel[] featureLevels, ID3D11Device& device, FeatureLevel& featureLevel)
at Vortice.Direct3D11.D3D11.D3D11CreateDevice(IntPtr adapterPtr, DriverType driverType, DeviceCreationFlags flags, FeatureLevel[] featureLevels, ID3D11Device& device)
at Veldrid.D3D11.D3D11GraphicsDevice..ctor(D3D11DeviceOptions options, Nullable1 swapchainDesc) at Veldrid.D3D11.D3D11GraphicsDevice..ctor(GraphicsDeviceOptions options, D3D11DeviceOptions d3D11DeviceOptions, Nullable1 swapchainDesc)
at Veldrid.GraphicsDevice.CreateD3D11(GraphicsDeviceOptions options, SwapchainDescription swapchainDescription)
at Veldrid.StartupUtilities.VeldridStartup.CreateDefaultD3D11GraphicsDevice(GraphicsDeviceOptions options, Sdl2Window window)
at Veldrid.StartupUtilities.VeldridStartup.CreateGraphicsDevice(Sdl2Window window, GraphicsDeviceOptions options, GraphicsBackend preferredBackend)
at Veldrid.StartupUtilities.VeldridStartup.CreateGraphicsDevice(Sdl2Window window, GraphicsDeviceOptions options)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant