Andy90 Posted May 14 Share Posted May 14 For some reason, the editor freezes if there is no activity for a certain amount of time. Quote Link to comment Share on other sites More sharing options...
Josh Posted May 14 Share Posted May 14 I left the Steam and standalone running for an hours while I went to lunch. Came back and everything was normal. Quote 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...
Andy90 Posted May 14 Author Share Posted May 14 i was thinking maybe its happening when you run your game in fullscreen. I test it right now with a bordered window. Quote Link to comment Share on other sites More sharing options...
Cosmonaut_ Posted May 15 Share Posted May 15 I've experienced this as well, it happens after as short as a few minutes with the focus on another window. Sometimes trying to minimize and maximize the editor window will wake it up, sometimes it seems to do it on its own after a bit of time. 3 Quote Link to comment Share on other sites More sharing options...
wr3kage Posted May 16 Share Posted May 16 I've had this happen aswell, happens sometimes when i've been at another app for a while, can't make it consistently happen tho. I'm on Win11 which might be a factor. there was an update this week and i might have seen it happen in another app, tho im not sure. Quote Link to comment Share on other sites More sharing options...
Cosmonaut_ Posted May 17 Share Posted May 17 I'm on Win10, haven't experienced any other app freeze after inactivity the same way Quote Link to comment Share on other sites More sharing options...
Yue Posted May 17 Share Posted May 17 I can confirm the same thing, when I am coding in visual Code, and I go back to the editor it is frozen, it does not respond anywhere, I have to restart it. When it happens to me I make a video. Quote Link to comment Share on other sites More sharing options...
Josh Posted May 18 Share Posted May 18 So far I am unable to produce this error. Quote 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...
Andy90 Posted May 18 Author Share Posted May 18 You just need to let the edior open while you do something else. But dont minimize it. Just switch the tab in windows. Quote Link to comment Share on other sites More sharing options...
Josh Posted May 20 Share Posted May 20 Is this only happening with the Steam build? Has anyone experienced this with the standalone? https://steamcommunity.com/discussions/forum/1/3430075523240630574/ Quote 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...
reepblue Posted May 21 Share Posted May 21 17 hours ago, Josh said: Is this only happening with the Steam build? Has anyone experienced this with the standalone? https://steamcommunity.com/discussions/forum/1/3430075523240630574/ I only used the standalone and never had a crash, I can try using the Steam version and see if I have the issue. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
Josh Posted May 21 Share Posted May 21 When the application is dormant, SteamAPI_RunCallbacks() does not get called for however long it is sitting there. If this is a Steam-exclusive problem then I am thinking maybe this function performs actions based on time elapsed, so it is called after a long pause it performs some kind of tasks that take a long time, causing the program to stop responding. Quote 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 May 22 Share Posted May 22 The latest build on Steam adds a timer that ticks once every second. This causes the program to not sit idly for long periods of time, and will cause the Steam_runcallbacks function to be called periodically. Quote 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...
Dreikblack Posted May 25 Share Posted May 25 Freezes still happens (Steam, beta, W11) 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted June 29 Share Posted June 29 During today's call, I left both the Steam and standalone version running. Steam version is now frozen, standalone is fine... After a few minutes the Steam version became responsive again. Maybe I need to render a frame every couple of minutes? It's like a bunch of events are building up and have to be dealt with when the program resumes... Quote 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 June 29 Share Posted June 29 I am working with the theory that some kind of event is piling up in the Steam overlay when the editor does not swap a 3D window for a long period of time, and when it resumes rendering it must evaluate a large number of events, probably some kind of timer used by Steam. I added a timer that invalidates the main view panel every ten seconds, and have not been able to produce the problem since. This will probably only work if at least one view panel is visible. If the editor is viewing the flowgraph or asset library, which do not use a 3D framebuffer, then I expect the problem would continue. So, it might be fixed now, as long as one viewport is visible, but I am not sure yet. Quote 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...
Dreikblack Posted June 30 Share Posted June 30 I disabled Steam overlay for Ultra today - no freezes since then. Quote Link to comment Share on other sites More sharing options...
Dreikblack Posted June 30 Share Posted June 30 And it happen again. This time opened map had much more objects than prev one. Quote Link to comment Share on other sites More sharing options...
Josh Posted June 30 Share Posted June 30 I happened to find this: https://partner.steamgames.com/doc/api/ISteamUtils Quote BOverlayNeedsPresent bool BOverlayNeedsPresent(); Checks if the Overlay needs a present. Only required if using event driven render updates. Typically this call is unneeded if your game has a constantly running frame loop that calls the D3D Present API, or OGL SwapBuffers API every frame as is the case in most games. However, if you have a game that only refreshes the screen on an event driven basis then that can break the overlay, as it uses your Present/SwapBuffers calls to drive it's internal frame loop and it may also need to Present() to the screen any time a notification happens or when the overlay is brought up over the game by a user. You can use this API to ask the overlay if it currently need a present in that case, and then you can check for this periodically (roughly 33hz is desirable) and make sure you refresh the screen with Present or SwapBuffers to allow the overlay to do its work. Returns: bool true if the overlay needs you to refresh the screen, otherwise false. Quote 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 June 30 Share Posted June 30 I got it to stop during one of these episodes, and there are thousands of 5373 and 5374 messages being processed by GetMessage()... Quote 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 June 30 Share Posted June 30 Okay, there is a timer now that fires every 30 milliseconds, checks to see if the overlay needs to be updated, and renders the first viewport, even if it is hidden. Quote 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 July 2 Share Posted July 2 Any feedback on this? Quote 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...
Dreikblack Posted July 3 Share Posted July 3 Freezes still happens. Got first one after a update. After a few mins it became responsive again. Quote Link to comment Share on other sites More sharing options...
Josh Posted July 3 Share Posted July 3 If you don't mind, can you switch the installation to 0.9.5 and see if the same problem occurs in this or previous versions? Quote 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...
Dreikblack Posted July 3 Share Posted July 3 I never had this issue on prev major versions. btw no new freezes since my prev version so probably you are moving in right direction. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.