Jump to content

DS4 Controller Crashing Game.


theDream
 Share

Recommended Posts

Well this issue sent me for a loop. As the title says my DS4 Controller is causing my Ultra Engine game to crash.

I did a few tests as I suspected it may have been the Steam Input, but I disabled that for the Ultra Engine application and it still causes my games to crash after loading.

I have not implemented or even started messing around with gamepads, I just happened to have it plugged in from playing other games.

It finishes loading the map but crashes before the window is able to display anything. I can simply unplug my controller and the game will load and run as expected.

It does not crash if the game is running and I plug in my controller then. Only when I start the game and it is already plugged in.

I was able to grab this screenshot from the debug console (the Bottom row does not show up in VS Code's integrated debug console).

This is the Steam Standard Edition, Version 0.9.7, Build 1545

image.thumb.png.868cb268bb2b1caeaad70a62000415b4.png

Link to comment
Share on other sites

I'm under the impression this is the default start map but there is no Steam Input Code in the public Steamworks code. Is the project calling the Steamworks (Does the overlay work)? It might be Steam in the background trying to do its autowinding with the 480 aphid and something is happening. 

You say it's the controller, but the log is reporting an error with the sound engine. Is there any special sounds you're trying to load or play? I wouldn't know why OpenAL Soft would hate your DS4 controller.

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

45 minutes ago, reepblue said:

I'm under the impression this is the default start map but there is no Steam Input Code in the public Steamworks code. Is the project calling the Steamworks (Does the overlay work)? It might be Steam in the background trying to do its autowinding with the 480 aphid and something is happening. 

You say it's the controller, but the log is reporting an error with the sound engine. Is there any special sounds you're trying to load or play? I wouldn't know why OpenAL Soft would hate your DS4 controller.

You are correct with saying this is the default map and I am not initializing steam at all. I have made a few modifications to the scene, I removed the 3rd person controller, added and empty with the 1st person controller and implemented 2 new components for weapons. None of which utilizes the sound. The only sound should be the doors when they are triggered, and as I said before the scene loads and crashes before it is rendered, so no chance the sound should be called. I can replicate this 100% of the time on my machine. The controller isn't even active (light on), but when I unplug it my game runs. That ALSOFT error is all that I can see. I am not running any special sound or controller software.

Link to comment
Share on other sites

So it is really weird, I did a few test with some other controllers. It seems to only happen when my one specific DS4 Controller is plugged in.

I tested another DS4 controller, one that I had since 2014 and the game did not crash.

I plugged in the one causing the issue again which I got a few months back and it crashed again.

I also tested a xbox one controller, and that did not cause my game to crash.

I even tried a brand new project and the same results as above.

I just tested on my other pc and using all 3 controllers the game did not crash. So a weird combination of my DEV-PC and the one DS4 controller is causing the game to crash. We can probably remove this from this thread as I don't know if the issue can be successfully replicated onto another machine.

Link to comment
Share on other sites

A search for DS4 crashing shows some interesting things. Maybe something here is related?

Quote

This happened to me very recently as well! Fortunately I’m pretty sure the solution is simple. What caused it was some kind of “advanced Xbox controller support” on steam. Of course, I’m paraphrasing, but the setting is called something like that. All you gotta do is turn the setting off and it should stop, at least, that’s what worked for me.

 

 

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

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...