Why does UPBGE 0.3 crash occasionally at times?

I start the UPBGE (internal player), and there is a low chance of it suddenly crashing back to the desktop. Nothing is given in the console like in previous versions, it says “Deleting expired sessions…”, etc, and just quits involuntarily. I can tell this is a crash because it happens without warning, but there is like a 10% chance (estimate) of the UPBGE crashing when just starting it. I think this might be a bug. In the old 2.79 versions of Blender, you would get some info like “Writing /tmp/filename.crash” and “Segmentation fault”. I know UPBGE is in beta and it will crash occasionally. Will this be fixed?

I am using an M1 iMac running OS X Monterey (12) running x86 version of UPBGE 0.3 through Rosetta.

Another question: Is it against the rules to post these questions about possible bugs and crashes?

It is very fortunate the team included an autosave recovery feature. Before 2.6 or something like that, if Blender crashed, that was it. Any unsaved data was lost permanently.

1 Like

It sounds like a shader compilation thing if it’s during startup

Check any sound actuators and make sure they all have sound files. For some reason UPBGE will occasionally remove the sound file from a sound actuator which causes UPBGE to randomly crash. I still haven’t figured out why it removes the sound files (they are still in the same spot on my hard drive) or why that causes the program to randomly crash.

in any event - there are debug builds, but it’s cumbersome to try and test for a random crash