bootzin / SlimeSimulation

Physarum Transport Networks developed in my own engine
0 stars 1 forks source link

System.NullReferenceException #3

Open Quadrum1 opened 2 years ago

Quadrum1 commented 2 years ago
Unhandled exception. System.NullReferenceException: Object reference not set to
an instance of an object.
   at Veldrid.D3D11.D3D11Shader.CompileCode(ShaderDescription description)
   at Veldrid.D3D11.D3D11Shader..ctor(Device device, ShaderDescription descripti
on)
   at Veldrid.D3D11.D3D11ResourceFactory.CreateShaderCore(ShaderDescription& des
cription)
   at Veldrid.ResourceFactory.CreateShader(ShaderDescription& description)
   at Veldrid.ResourceFactory.CreateShader(ShaderDescription description)
   at Veldrid.SPIRV.ResourceFactoryExtensions.CreateFromSpirv(ResourceFactory fa
ctory, ShaderDescription computeShaderDescription, CrossCompileOptions options)
   at Veldrid.SPIRV.ResourceFactoryExtensions.CreateFromSpirv(ResourceFactory fa
ctory, ShaderDescription computeShaderDescription)
   at SlimeSimulation.SlimeSimulationLayer.OnAttach()
   at BootEngine.Layers.LayerStack.PushLayer(LayerBase layer)
   at SlimeSimulation.Program..ctor(Int32 width, Int32 height, WindowState state
)
   at SlimeSimulation.Program.Main(String[] args)

Providing both width and height via cmd, anyone got any idea why it's still crashing on every execution?