MAC Standalone Blendplayer Shuts Down #38320
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#38320
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
OSX 10.68 -- 64 bit
Blender Version
Broken: (2.68 and 2.69)
Worked: (2.49)
Short description of error
Standalone Blendplayer Shuts Down
Exact steps for others to reproduce the error
It shuts down completely when trying to start one .blend from another in the MAC standalone players.
Tried it with the "Start game actuator" and also tried with a python script. Same result.
I've tried using the most simplified file setup.
Changed status to: 'Open'
Added subscriber: @Brando68x
Relative or direct path makes no difference.
Added subscriber: @mont29
It must be in the "Create game engine runtime plugin". Shuts down completely.
Works fine when you launch the "standalone player" from within Blender.
I've been trying on Mac OS 10.68 and 10.91 (Blender 2.68 and 2.69)
(Did all the security allowances in Maverick just to be sure also.)
Here is some test files.
The "intro" file calls the "load" file with the "z" key.
shuts down.Test_Loading.zip
Can't upload the app file. Too large.
Added subscribers: @Moguri, @brita
Tested this in linux and it is also failing.
The problem has nothing to do with the start game actuator. Loading the startup file, and saving as game engine also crashes.
I'd say the priority for this is high if one can't save executables.
@Moguri maybe this is for you?
The console output is this:
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Also,
Running from the console with './Intro':
Running from the console with 'Intro' (should work in slackware linux, current path is always searched too)
In Mavericks (10.9) I have tried some load linking tests with files.
The "absolute" file paths work fine but the issue is in the "relative" file paths.
It will not load the linked relative files.
Hopefully that will help focus this down a bit.
I'm not sure where to go from here.
Something in Mavericks seemed to have changed so the standalone ge needs to allow for whatever is different.
I just tested this in Linux (Arch Linux 64bit), and it seems to work fine. The error Brita mentions is usually due to not finding the correct Python lib folder (the one usually bundled in the 2.xx folder). Make sure you enable the Copy Python option to avoid this issue (it should be enabled by default).
The relative LibLoad issue is described in #25819.
Retested in Linux (Slackware Linux 64bits) and with the 2.70 release. Everything works (except running in the terminal without the './', but that is a different problem). I was copying python before, so I am not sure what the problem was, but it is gone now.
Tested in OS X 10.9.2, 64bits, also with the latest release. The embedded player is crashing when pressing Z.
I don't have any input in the terminal (not even the normal stuff I use to see in linux). I also don't have a development environment in the Mac yet.
Changed status from 'Open' to: 'Resolved'
Retsted in OS X 10.9.2, 64bits, with
490da48
the embedded player is no longer crashing.I tested everything again and it does not crash, so closing.
Changed status from 'Resolved' to: 'Open'
I did some new testing with 2.71 on Mac using the standalone ge.
Tried linking relative files with a scene. (Still doesn't work on OSX 10.9.3)
Tried start game from file actuator (Still doesn't work on OSX 10.9.3)
The issue is in the Standalone calling files.
Please help.
Can you try with a daily build? https://builder.blender.org/download/
Added subscriber: @fsiddi
I've tried to run the file in a blender player standalone launched via command line on OSX Mavericks and the file loading worked fine (using daily build).
Changed status from 'Open' to: 'Archived'
Closing again according to fsiddi's comment and my own tests.
Thanks for the report.
Well I tried the latest daily build and I'm still getting a shut down right as it tries to load the second.blend file.
I'm not a pro user with running terminal commands.