Einlander Posted August 21, 2015 Share Posted August 21, 2015 This bug my have been fixed on linux, but it it now introduced into windows. http://www.leadwerks.com/werkspace/topic/12816-linux-al-device-is-not-closed-by-c/ I have gotten it to crash while loaded in Visual Studio but i'm not proficient enough in c++ to diagnose the problem. A map to replicate the bug https://www.dropbox.com/s/psw5g2ur77agre6/audiobug.map?dl=0 1. Start a new project with the Advanced First Person Shooter template 2. Load map Run map, DO NOT PRESS ANY WASD Key. A sound will play. Press esc. It should crash. Run map again. DO NOT MOVE AGAIN. A sound will play. Move the player until you hear 1 footstep. Press escape. No crash. Link to comment Share on other sites More sharing options...
Josh Posted August 21, 2015 Share Posted August 21, 2015 Can you try this with the current build? I fixed some stuff last night that affects how the sound system is cleaned up on exit. 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 More sharing options...
Josh Posted August 21, 2015 Share Posted August 21, 2015 Oh I see, that is where I introduced it... 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 More sharing options...
Josh Posted August 21, 2015 Share Posted August 21, 2015 Okay, I just uploaded a fix for Windows. Thanks very much for pointing that out. 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 More sharing options...
Einlander Posted August 22, 2015 Author Share Posted August 22, 2015 I just started getting the error again. It only happens when you try to change the map. This is the only issue left before I upload my game to the Leadwerks game player. Link to comment Share on other sites More sharing options...
Josh Posted August 22, 2015 Share Posted August 22, 2015 I need an example to run please. 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 More sharing options...
Recommended Posts