Error in runtime in 2.5x [Solved]

hey after i made my game runtime in 2.54 and tries to run it, i get the following error and the runtime crashes. any one know why?:no:

Attachments


I’ve been getting the same exact thing too

Check the console. I get the feeling you’ll get some obscure such as this:
Fatal Python error: Py_Initialize: can’t initialize sys standard streams
ImportError: No module named encodings.utf_8

Unlike Blender, the Blenderplayer is not setup to use the bundled Python. So, you’ll either have to install Python 3.1 or launch the player from the command line/batch file.


set PYTHONHOME=2.54/python
blenderplayer myblend.blend

Where should i put that when i use your add-on???

Give this a try:

Copy the 2.54/python/lib folder so that it is next to your runtime. You might need to rename it to Lib though.

thanks it works fine… i have to ask: why if i activate fullscreen on the standalone the “game screen” appears moved with blue stripes about an inch wide, on top and right of my screen?

:cool::RocknRoll: that settles it.
Thanks Again.:slight_smile:

This is a bug that’s been around as long as 2.5. However, it was finally fixed a few days ago by Dalai. This means it will be fixed by the next beta.

nice! thanks!