Configuration:
Empty Evergine project targeting Avalonia.
Use GLGraphicsContext instead of DX11GraphicsContext on Windows host.
Evergine version: 2026.5.26.682
The EvergineControl.CreateDisplayWithSwapChain(uint width, uint height) method throws a null reference exception at swapChain instantiation.
Exception details show the following:
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Evergine.Bindings.OpenGL
StackTrace:
at Evergine.Bindings.OpenGL.GL.glGenVertexArrays(Int32 n, UInt32* arrays)
Configuration:
Empty Evergine project targeting Avalonia.
Use
GLGraphicsContextinstead ofDX11GraphicsContexton Windows host.Evergine version: 2026.5.26.682
The
EvergineControl.CreateDisplayWithSwapChain(uint width, uint height)method throws a null reference exception atswapChaininstantiation.Exception details show the following: