Jump to content

Error when launching executabl


Yue
 Share

Recommended Posts

Hi, I have a problem here, when I launch the scene from the editor, everything looks good (Not full screen) but when I launch the executable nothing happens.  I noticed that there is a message in the editor that says "Windows null".

Some suggestion.

Marte.thumb.png.f30f218919ebc77a5356612f0447b2a2.png

 

 

Link to comment
Share on other sites

1 hour ago, Josh said:

Look at the log file and see what it says or create a .bat file with this text and run it:


MyGame.debug.exe
pause

 

Hi
Debug.bat return :
 

C:\Users\John\Documents\Leadwerks\Projects\Marte>Marte.debug.exe
Initializing Lua...
Warning: Lua sandboxing disabled.
Executing file "C:/Users/John/Documents/Leadwerks/Projects/Marte/Scripts/Error.lua"
Executing file "C:/Users/John/Documents/Leadwerks/Projects/Marte/Scripts/Main.lua"
Executing file "C:/Users/John/Documents/Leadwerks/Projects/Marte/Scripts/Menu.lua"
Initializing OpenGL graphics driver...
OpenGL version 460
GLSL version 460
Device: GeForce GTX 1050 TI/PCIe/SSE2
Error: Window is NULL

C:\Users\John\Documents\Leadwerks\Projects\Marte>pause
Presione una tecla para continuar . . .

 

 

 

Link to comment
Share on other sites

This error occurs on Context:Create() if the window passed to it does not exist. Your window creation code is probably failing to create a full-screen window, probably because your monitor does not support the specified resolution.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

My analysis shows that something strange is going on: 

My graphics card has several screen resolutions, and among those is the 1024 x 768, so I think it should be supported. 


I also had problems launching in full screen mode, I think something strange is happening.  I have my card drivers updated. 

Edit: I've tried other resolutions, but I'm sweating the same thing. 

Game.png

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...