by Daryn » Mon Jun 03, 2024 7:54 pm
I just wanted to follow up on this. I spent the last couple of days working on this and I think we figured it out. It has nothing to do with bad code in an actor, or bad map data, or anything like that. No, that would make sense.
The problem, as it seems to be, is UDB.
One thing we often do is just load up a map in UDB, start playing, and then keep on playing through. In the past, this has never been an issue. I know it's not the intended use for this function of UDB, but it hadn't been a problem before.
Well, with the recent updates to UDB, something's changed. Given the whole program is being rejiggered to build on a newer version of Visual Studio, I'm not all that surprised, but the way it manifests is just bizarre.
Firstly, when you press F9, you get a security prompt from windows, with a box you must uncheck to not get that prompt again. That's fine, easy to do, but the dialog box often ends up underneath UDB so it is a bit of a pain to get to that first time.
Then, on occasion, when starting a map, I'm not able to move or aim at all, until I press my right mouse button and then a get a slight screen flash and I have control. The same thing happens after exiting the game with UDB in the background.
I'd ignored these little issues, but once we started seeing crashes, we thought what if there is a weird interaction going on between UDB and GZDoom?
To test our theory, I made a batch file that loads GZDoom, PB, KAI, and our working folder, much like I do in the release package for Dragon Sector.
We were both able to play through the maps flawlessly. When we try to do it with UDB running, as mentioned above, that's when the crash happens.
My theory is that UDB somehow doesn't realize GZDoom is still running and deltes its temp wads out from under it.
I just wanted to follow up on this. I spent the last couple of days working on this and I think we figured it out. It has nothing to do with bad code in an actor, or bad map data, or anything like that. No, that would make sense.
The problem, as it seems to be, is UDB.
One thing we often do is just load up a map in UDB, start playing, and then keep on playing through. In the past, this has never been an issue. I know it's not the intended use for this function of UDB, but it hadn't been a problem before.
Well, with the recent updates to UDB, something's changed. Given the whole program is being rejiggered to build on a newer version of Visual Studio, I'm not all that surprised, but the way it manifests is just bizarre.
Firstly, when you press F9, you get a security prompt from windows, with a box you must uncheck to not get that prompt again. That's fine, easy to do, but the dialog box often ends up underneath UDB so it is a bit of a pain to get to that first time.
Then, on occasion, when starting a map, I'm not able to move or aim at all, until I press my right mouse button and then a get a slight screen flash and I have control. The same thing happens after exiting the game with UDB in the background.
I'd ignored these little issues, but once we started seeing crashes, we thought what if there is a weird interaction going on between UDB and GZDoom?
To test our theory, I made a batch file that loads GZDoom, PB, KAI, and our working folder, much like I do in the release package for Dragon Sector.
We were both able to play through the maps flawlessly. When we try to do it with UDB running, as mentioned above, that's when the crash happens.
My theory is that UDB somehow doesn't realize GZDoom is still running and deltes its temp wads out from under it.