Standalone game engine won't start #45679

Closed
opened 2015-08-04 20:00:29 +02:00 by Lukáš Znojemský · 26 comments

System Information
Operating system and graphics card

  • Windows 7 (64bit)
  • NVIDIA GeForce GTS 250

Blender Version

Broken: 2.75a and 2.74
Worked: any earlier

Short description of error

I click standalone engine button and only thing that happens is prompt window will fill with text (as shown in the picure{F219419}) but this only happens when there is material in the scene. With uncoloured cube it won't happen. But as soon as I add the first material to the game I will never see the standalone engine again. Not even when the material is deleted.

Exact steps for others to reproduce the error

  1. Have my computer
  2. Give the starting cube material
  3. Click the standalone button
  4. See nothing happen
**System Information** Operating system and graphics card - Windows 7 (64bit) - NVIDIA GeForce GTS 250 **Blender Version** Broken: 2.75a and 2.74 Worked: any earlier **Short description of error** I click standalone engine button and only thing that happens is prompt window will fill with text (as shown in the picure{[F219419](https://archive.blender.org/developer/F219419/Screen.png)}) but this only happens when there is material in the scene. With uncoloured cube it won't happen. But as soon as I add the first material to the game I will never see the standalone engine again. Not even when the material is deleted. **Exact steps for others to reproduce the error** 1) Have my computer 2) Give the starting cube material 3) Click the standalone button 4) See nothing happen

Changed status to: 'Open'

Changed status to: 'Open'
Lukáš Znojemský self-assigned this 2015-08-04 20:00:29 +02:00

Added subscriber: @LittleScoty

Added subscriber: @LittleScoty
Lukáš Znojemský was unassigned by Aaron Carlisle 2015-08-04 22:22:52 +02:00
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Added subscriber: @JorgeBernalMartinez

Added subscriber: @JorgeBernalMartinez
Member

I can not reproduce the bug. Windows 7 64bit & blender 2.75a

I can not reproduce the bug. Windows 7 64bit & blender 2.75a

Any sugestion what it could be caused by?

Any sugestion what it could be caused by?

Added subscriber: @Sergey

Added subscriber: @Sergey

Please attach .blend and all other files (textures?) which are needed to reproduce the bug.

Please attach .blend and all other files (textures?) which are needed to reproduce the bug.

rainbow_run.blend <- this is one of many that won't start, however I tried to revert blender to factory settings and now the standalone engine starts but only when scene remains more or less unchanged

one texutered starting cube - engine runs
more simple obbjects (not even using materials or textures or anything) - engine won't run

[rainbow_run.blend](https://archive.blender.org/developer/F220837/rainbow_run.blend) <- this is one of many that won't start, however I tried to revert blender to factory settings and now the standalone engine starts but only when scene remains more or less unchanged one texutered starting cube - engine runs more simple obbjects (not even using materials or textures or anything) - engine won't run
Member

Added subscriber: @hg1

Added subscriber: @hg1
Member

Actually there is no Blender bug.

If you look at the output you will see that are two textures are missing in your file.

RuntimeError: Error: Unable to pack file, source path 'C:\Users\Thomas\Desktop\Textures\Hair.png' not found
Error: Unable to pack file, source path 'C:\Users\Thomas\Desktop\Textures\Numbers.png' not found

You have enabled "Automatically Pack Into .blend". If you have enabled it Blender tries to pack the files into the temporary output .blend file.
If are files missing Blender will now generate an error.

So add the missing textures to the project or disable "Automatically Pack Into .blend" and start the standalone player without the missing textures.

Actually there is no Blender bug. If you look at the output you will see that are two textures are missing in your file. ``` RuntimeError: Error: Unable to pack file, source path 'C:\Users\Thomas\Desktop\Textures\Hair.png' not found Error: Unable to pack file, source path 'C:\Users\Thomas\Desktop\Textures\Numbers.png' not found ``` You have enabled "Automatically Pack Into .blend". If you have enabled it Blender tries to pack the files into the temporary output .blend file. If are files missing Blender will now generate an error. So add the missing textures to the project or disable "Automatically Pack Into .blend" and start the standalone player without the missing textures.

backup.blend - friends file, no textures missing, same problem

[backup.blend](https://archive.blender.org/developer/F221838/backup.blend) - friends file, no textures missing, same problem

Also why is previous file running at another computer where are textures also missing?

Also why is previous file running at another computer where are textures also missing?

Also, why are they missing? I'm pretty sure the whole file was created on 1 pc, using my standart default file for games where packing is checked

Also, why are they missing? I'm pretty sure the whole file was created on 1 pc, using my standart default file for games where packing is checked
Member

In #45679#327089, @LittleScoty wrote:
backup.blend - friends file, no textures missing, same problem

This file is working for me without problems. (The clipping fault is caused by the activated Transparency.)

In #45679#327090, @LittleScoty wrote:
Also why is previous file running at another computer where are textures also missing?

Actually I don't know. Maybe the file was loaded without UI, or in the Blender user preferences is something different. Or the files are existing on this PC.

In #45679#327092, @LittleScoty wrote:
Also, why are they missing? I'm pretty sure the whole file was created on 1 pc, using my standart default file for games where packing is checked

If previous packing (other Blender version, other PC, or something else) was deactivated and you deleted, moved or renamed the textures in the file explorer, Blender will not find these files any more. You have to assign it again.

> In #45679#327089, @LittleScoty wrote: > [backup.blend](https://archive.blender.org/developer/F221838/backup.blend) - friends file, no textures missing, same problem This file is working for me without problems. (The clipping fault is caused by the activated Transparency.) > In #45679#327090, @LittleScoty wrote: > Also why is previous file running at another computer where are textures also missing? Actually I don't know. Maybe the file was loaded without UI, or in the Blender user preferences is something different. Or the files are existing on this PC. > In #45679#327092, @LittleScoty wrote: > Also, why are they missing? I'm pretty sure the whole file was created on 1 pc, using my standart default file for games where packing is checked If previous packing (other Blender version, other PC, or something else) was deactivated and you deleted, moved or renamed the textures in the file explorer, Blender will not find these files any more. You have to assign it again.

Thank you for your help, although it wasn't realy helpful. Standalone engine is simply not running.

So 1 last question. If .blend file has issues running in standalone... Will it run after my project is exported to standalone game?

Thank you for your help, although it wasn't realy helpful. Standalone engine is simply not running. So 1 last question. If .blend file has issues running in standalone... Will it run after my project is exported to standalone game?
Member

In #45679#327131, @LittleScoty wrote:
Thank you for your help, although it wasn't realy helpful. Standalone engine is simply not running.

  1. Did you tested it with disabled auto packing?
  2. Do you added the missing files error (correct the path)?
  3. Do you checked your user preferences for the player?
  4. Do you loaded the file without UI?
  5. Do you tried it with disabled BGE addons.

So 1 last question. If .blend file has issues running in standalone... Will it run after my project is exported to standalone game?

The blend file will start if you start with the blenderplayer. But if are files missing and you have enabled autopacking the exporter will generate the same error on extorting.

I repacked the two Images with the wrong path and replaced Numbers.png with Numbers_red.png on the UV mapping.
rainbow_run.blend
Try this file, if it isn ot working then try to deinstall Blender delete the old settings C:\Users<your user name>\AppData\Roaming\Blender Foundation\Blender\2.75 and install blender again.
AppData is invisible if you not have changed the explorer settings, So change the Explorer strings or copy and pate the path and type in your user name. Or type in \AppData after you have chosen the user name in the Explorer.

> In #45679#327131, @LittleScoty wrote: > Thank you for your help, although it wasn't realy helpful. Standalone engine is simply not running. 1. Did you tested it with disabled auto packing? 2. Do you added the missing files error (correct the path)? 3. Do you checked your user preferences for the player? 4. Do you loaded the file without UI? 5. Do you tried it with disabled BGE addons. > So 1 last question. If .blend file has issues running in standalone... Will it run after my project is exported to standalone game? The blend file will start if you start with the blenderplayer. But if are files missing and you have enabled autopacking the exporter will generate the same error on extorting. I repacked the two Images with the wrong path and replaced Numbers.png with Numbers_red.png on the UV mapping. [rainbow_run.blend](https://archive.blender.org/developer/F222192/rainbow_run.blend) Try this file, if it isn ot working then try to deinstall Blender delete the old settings C:\Users\<your user name>\AppData\Roaming\Blender Foundation\Blender\2.75 and install blender again. AppData is invisible if you not have changed the explorer settings, So change the Explorer strings or copy and pate the path and type in your user name. Or type in \AppData after you have chosen the user name in the Explorer.
  1. I did now - nothing changed
  2. Yop - did not help
  3. I am running on default user preferences now and I chcecked whole world, scene and render tabs for errors - none
  4. I did not
  5. The only one enabled is "save as engine runtime" and I am happy to say that .exe files run without flaws. So I guess I'll have to use embedded player and exported .exe file... Even though exporting sometimes takes ages and I never know if computer is still overloaded or just frozen.

This will cost me some time but seriously thank you for your help.

1. I did now - nothing changed 2. Yop - did not help 3. I am running on default user preferences now and I chcecked whole world, scene and render tabs for errors - none 4. I did not 5. The only one enabled is "save as engine runtime" and I am happy to say that .exe files run without flaws. So I guess I'll have to use embedded player and exported .exe file... Even though exporting sometimes takes ages and I never know if computer is still overloaded or just frozen. This will cost me some time but seriously thank you for your help.

(Btw. what can I do with the material clipping? Internet doesn't seem to help very much)

(Btw. what can I do with the material clipping? Internet doesn't seem to help very much)
Member

Removed subscriber: @Blendify

Removed subscriber: @Blendify

Added subscriber: @mont29

Added subscriber: @mont29

Added subscriber: @panzergame

Added subscriber: @panzergame

@LittleScoty : Did you find a solution ?

@LittleScoty : Did you find a solution ?

No

No
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Aaron Carlisle self-assigned this 2019-06-29 02:19:37 +02:00
Member

This task is being closed because the BGE has been removed in Blender 2.8.

This task is being closed because the BGE has been removed in Blender 2.8.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#45679
No description provided.