Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

I wanted to try a game, but I got a message instead: “The instruction at 0x00000000 referenced memory at 0x00000000. The memory could not be written.”

Moreover console input is: ‘’’ Failed to create GLFW window Failed to initialize OpenGL loader! ‘’’

Sorry to hear that, what operating system? Video card? are you using?  That's the only thing that I can think of without more information... I wonder if there's a file missing that I need to include... if you try any of my other demos let me know if they at least run for you, that would probably help me narrow down the issue, whatever it may be.

Thanks for trying and letting me know about the error.

Jeff

(2 edits) (+1)

I’m using a PC with Windows 11 and I’m using RTX4070. Once more, I tried to launch this game normally and as a administrator, but the same error occured. Moreover, I tried your three other projects:

  • Space Trader re-Factor - not working, the same error
  • Space Shooter Demo (Prototype) - as above, but launch after second attempt
  • 3D Terrain + more (Code included) - this works perfectly

What I can do additionally is try on different PC device (with Win10 and GTX1050Ti), if something will change, I will give a reply.

EDIT: On my second device, the game is launching but closes after a short period (I only see something which looks like stars on black screen). Logging from console:

ERROR::SHADER_COMPILATION_ERROR of type: FRAGMENT                                                                       ERROR: 0:1: '' : illegal non-ASCII character (0xef)                                                                     ERROR: 0:1: '' : illegal non-ASCII character (0xbb)                                                                     ERROR: 0:1: '' : illegal non-ASCII character (0xbf)                                                                                                                                                                                                                                                                                                                      -- --------------------------------------------------- --                                                              ERROR::PROGRAM_LINKING_ERROR of type: PROGRAM                                                                           Attached fragment shader is not compiled.                                                                                                                                                                                                        -- --------------------------------------------------- --

About Space Trader re-Factor game there is running, but closes after short period, it looks that graphics is good, except one console line: “Failed to load texture”

(+1)

ok, thanks, that helps me, the space trader re-factor and the game jam game both used the same project files ... hmmm

(+1)

Ok, I watched someone live had the same problem (they were streaming the game and I was able to narrow down the problem and this solution fixed it), but if you save the file as UTF-8 encoding, it will eliminate the Unicode errors, not sure why this happens, but I blame my lack of understanding the plethora of settings available in Visual Studio.  Anyways, hope this helps, and I will try to update the files for these two demos upon next release... in fact, that may be the next release.

Thanks again,

Jeff

(+1)

Thanks for suggestion, also after figthing with my antivirus (Avast seems to be not best option too choose after all). I want able to finally test a game. I can appreciate the art style of game. I also like the idea that you didn’t used any “popular” game engine and utilize your own code (together with GLFW and OpenGL I guess). According to game, I like the idea of merging fireflies and the fact their child has their colors and similar patterns.

P.S.: I see that you pass colors from/to shaders as variables 1:1 (each variable for color). You could try using tables to store colors.

(+1)

Thanks for playing and the feedback!  Yes, I already have some tables of colors that I've used in the Space Trader game, one for Asteroids' colors, and one with different shades of blue for Ice Crystals.

Anyways, take care,

Jeff