Godot 2.1 Stable error on start: This program has asked the runtime to terminate in an unsual way

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LGallion
:warning: Old Version Published before Godot 3 was released.

I just downloaded GoDot 2.1 stable (tried both the 32 and 64 bit with the same results). This is on a Windows 7 PC, fully patched and I am running with an admin login. I am getting a message on start from Microsoft C++ Runtime that says:

Runtime Error!:
Program:
This application has requested the Runtime to terminate in an unusual way.

I tried turning off my antivirus and running as administrator but I get the same results. I suspect I may not have some required library or something (maybe my C++ library isn’t the correct version?) but I can’t find any specific requirements.

Any help would be appreciated, thanks!

Screen Shot of Error Message

Link to Screen Shot

If you are on a laptop, it’s possible that you have two graphic cards: a real one, and another wich is limited and runs on the CPU (integrated graphics for me). If that’s the case, try running Godot with your main graphic card instead.

Otherwise, try upgrading your drivers.

If it still doesn’t works, it’s possible your graphic card is outdated. Which model do you have?

Zylann | 2016-10-09 02:15

Thank you for the suggestion. It is a laptop so I updated my NVidia drivers (card is a Geforce GT 540M not the latest but supposedly support OpenGL 4.5) to the latest software version and I still get the same results on both the integrated Intel graphic and NVIdia. I even did a clean install of the NVidia graphics, just in case. Also the Intel graphics also give this error in the DOS window but that is probably totally normal because of it’s limited capabilities:

ERROR: RasterizerGLES2::canvas_light_shadow_buffer_create: Condition ’ status !=
0x8CD5 ’ is true. returned: RID()

Is there a debug switch on GoDot that might provide some detail on the original error (I don’t care about the Intel graphics)? I have another laptop it runs fine on but I would like to use it on this one too. Thanks!

LGallion | 2016-10-09 08:01

At this point I don’t know much more what to do. The card is either not supported or there is a bug in this particular case.

Zylann | 2016-10-09 14:11

I appreciate your help. I also tried reinstalling the C++ runtime libraries and installing newer ones but to no avail. Going to chalk this up to ‘Windows Weirdness’ on this machine. Thanks again.

LGallion | 2016-10-09 21:29

I have seen some work recently on the OpenGL compatibility part, try the latest builds from here
http://fixnum.org/godot/

eons | 2016-10-10 13:36

eons, that did it! I downloaded the latest ‘successful compile’ 2.2 alpha and this time in the DOS window I got the error was in the audio device initialization. I guess the nightly’s have debug turned on or additional error checking. This laptop is my ‘test’ machine so a lot of software comes and goes and I obviously got a left over bad audio device in there. Disabling it fixed the problem for both the nightly & the regular executable. This isn’t an common situation people are going to run into BUT it would be nice if the distributed GoDot had the ability to turn on a debug mode or additional error checking. Thanks to all that made suggestions - now onwards in evaluating GoDot :slight_smile:

LGallion | 2016-10-10 20:33

Good! I hope you like the engine ^^

I will add that as an answer then.

eons | 2016-10-11 16:51

:bust_in_silhouette: Reply From: eons

Since 10/04/16 were added fixes to make it work with some old or not fully compatible GPUs.

Compiled binaries of the development/alpha versions can be found here http://fixnum.org/godot/