defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Closing Go or Collection windows crash the editor if OBS (rec software) is running. #2037

Closed Gmanicus closed 5 years ago

Gmanicus commented 6 years ago

I'm running into an issue where Defold shuts down when hitting the (X) to close a script, sprite, tilemap, or etc window. You can see it multiple times in my second Twitch stream: https://www.twitch.tv/videos/281007054## specifically at 00:39:49

Windows doesn't report that it crashed, so it seems that Defold is just shutting down immediately.

erikangelin-king commented 6 years ago

Hi @GamingBud! Never seen that one before. What version are you on? (sha's from Help>About) Is this on Windows 10?

Gmanicus commented 6 years ago

@erikangelin-king My OS is Windows 7. I was streaming with OBS at the time, and had never experienced it before, so the video capturing software may have caused the issue. I am running 1.2.128 atm.

Gmanicus commented 6 years ago

I ran into this again, and it happened every time I tried to close a window. I don't think I'm missing. I can't exactly check because the footage has the mouse cursor offset incorrectly for some reason.

I was able to reproduce this, and it IS OBS that causes the issue. I tried closing multiple windows with OBS recording, not recording, and not running. I only had the issue while OBS was ON. It didn't matter whether I was recording or not.

EDIT: A second interesting fact that I found is that it doesn't apply to scripts. Scripts close just fine while it is running.

I've attached what I believe is the error report. It's named hs_err_pid8688.log. hs_err_pid8688.log

Gmanicus commented 6 years ago

@erikangelin-king Updated to version 1.2.132 of the editor. The issue appears in this version too.

erikangelin-king commented 6 years ago

Thanks for digging into this issue @GamingBud! Sadly (?) we're all off for vacations a couple of weeks so this will have to wait until we're back in August. From the log you gave me it looks like an opengl issue, we're deleting a context when you close the tab. I'm guessing you've already tried updating drivers?

Gmanicus commented 6 years ago

@erikangelin-king No problem, you guys have a great vacation! I recently updated DirectX, if that's what handles OpenGL on a Windows system? I checked, and my graphics card drivers are up-to-date.

Gmanicus commented 5 years ago

Here's the error I got when running Defold in OpenGL debug mode while OBS was recording:

Build time2018-10-23T12:10:59.402812
Defold channeleditor-alpha
Defold editor shad5be48ff07d1de1f85f3d6a71378f812e0232cb5
Defold engine shaeedf9a7f2aa650143bb7169bf7e209cba80ef527
Defold version1.2.139
Errorfe38eeb92f12461ab7226e9be520f02d
GPURadeon(TM) RX 460 Graphics
GPU Driver4.5.14523 Compatibility Profile/Debug Context 24.20.12019.1010
Java version1.8.0_102-b14
OS archamd64
OS nameWindows 7
OS version6.1
Gmanicus commented 5 years ago

Worked with @erikangelin-king on this issue. Everything's working as expected now, but I'll wait until the next main editor push to close this issue.

Gmanicus commented 5 years ago

Tried to reproduce the issue several times, but I haven't run into it since the discussion with Erik. Thanks for solving my issue @erikangelin-king!