Closed Neil-Ciciglycerin closed 4 months ago
Where you trying to test your OS?
On windows 10, using VS2022, in VMWare Workstation?
On windows 10, using VS2022, in VMWare Workstation?
Try to enter the resolution like c = FullScreenCanvas.GetFullScreenCanvas(new Mode(1920, 1080, ColorDepth.ColorDepth32));
or any resolution what you want.
Hello, is debug mode enabled? if yes this is a known issue and you should not using debug with graphics on VMWare :/
Ah, it is. Thanks for helping!
What, exactly is debug mode, however?
a mode where the debugger code it emitted when building to allow the os to talk to the IDE
Ah. How do you disable it?
I figured it out. FOR THE PEOPLES WHO COME HERE IN THE FUTURE: uncheck the checkbox that says "Enable Cosmos Remote Debugger"
Area of Cosmos - What area of Cosmos are we dealing with?
The CGS (Cosmos Graphic Subsystem)
Expected Behavior - What do you think that should happen?
I should get a Canvas which I can draw to.
Actual Behavior - What unexpectedly happens?
I get a NullReferenceException.
Reproduction - How did you get this error to appear?
Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?
Using dev kit, most recent commit as of issue creation.