Editor Freezing indefenetly

Okey,

My problem, Every time I run my game it freezes the editor (not just the game). It’s also random, I can’t “reproduce” it, you just have to play for about 10 second to 30… The game is also freezing when pushed to the android phone. Its really really odd.

Anyhow, as I’m not getting an error or anything it’s making it impossible to debug, any suggestions? Am I going to have to pull the code for the editor and run the editor from visual ? I guess if someone could point me in the right direction that would be helpful.

Also, it does not “Crash” (I left it running over night waiting for it to come back…) it was still just . I’m running windows 8.1 if that helps. I can kill the unreal process… but this does not make for a very enjoyable game.

Would I be able to open a 4.8 project in 4.7? I have thought about doing that as well to see if it’s some in 4.8…

Please help.

Okey, so I pulled master and compiled the code for the editor and guess what… No problem… I guess I am going to have to pull the 4.8 branch and see what is wrong and see if I can’t get them to fix it for 4.8.1.

Hi ,

Does your computer freeze entirely or is it just UE4? Additionally, have you been able to reproduce this in a clean project with no additional content or is it limited to one project?

It’s just UE4 the freezes. Also, no, a clean project works just fine. I think I found out what blueprint it is that is causing the problem as well, but I can’t figure out what inside that blueprint is causing the problem because it’s pretty much trial and error, and on error I have to restart UE4! :slight_smile:

I just pulled UE 4.8.0 code and started the build so hopefully I will be able to see what is happening… :frowning: I have wasted tons of time on this.

Are you able to open the blueprint? Which blueprint is it? If you are able to open it, can you share a screenshot of what is in the blueprint? I’ll be happy to take a look and see if I can see what may be occurring.

that would be awesome… keep in mind that this is my first BP project and first Game at all. so if I’m doing stupid stuff, i’m sorry. For work I mainly use c++ and I’m much more comfortable with that.bp

Not sure what export to use so I made a .COPY and a .T3D. If you want the entire game… it’s not much, I could it up and put it on my onedrive for you. UE4.8.0 just finished building so I’m going to go poke around in the code myself, it will be good for me anyhow. My entire goal is to get experience with UE before I apply for a job with epic.

Also, I think that the “reset obstacle” function is what is causing it… although I have no proof. it’s just a hunch…

I think sending the whole project would be best in this case, so i can see if it is an object interaction or if it is limited to the blueprint itself.

, thank you so much for your help, I apologize it took so long to get to this but I was at work and did not have access to my home computer as it was off.

I just zipped everything up, so I think as long as you have 4.8.0 installed you should just be able to open it after unzipping.

It’s a pretty simple/stupid game. it takes a lot of its concepts the Tappy bird example project although this one is truly 2d. too reproduce, all you have to do is play the game in the editor for a bit. some times it can take up to playing the game 2 minutes before it happens but most of the time its within 10 seconds. I have the engine code and am going to be trying to debug it myself as well tonight.

Let me know when you get it as I will pull the link down. (i’m at least a little protective of my first game!)

Thanks,

got this while running the engine in VS. the “Completed” messages are me trying to log where it gets too when it has the problem. Anyhow, I have had it stop 3 times now and all that happens is there are a bunch of messages saying threads exited, and something about and android NVPACK. I think that this is just a continuous file check I’m going to see if I can’t figure out what causes the threads to stop. .

47420-capture2.png

Okey… so not sure but if I break it while it is “hung” it is always in this function in the PxScene.h I’m going to download UE4 to my mac and see if it has the same problems… I know that android built from my computer has the exact same problems. anyhow, just sharing what I am finding out.

it sits at the

if (buf.hasBlock)

While I did not have access too all of the code I think (me talking with limited unreal experience and not all of the code) it has something to do with the fact that I leave some unused sprites taking up the same space as I was just prototyping that blueprint and had yet to deal with them. I believe that this is causing the problem in the overlapMultiple function. I’m working on rewriting the blueprint to avoid any overlapping and am going to see if this rectifies the problem.

Hi ,

I haven’t been able to reproduce this on my end, please let me know if your blueprint rework fixes the error, if not, please let me know what steps I can take with your project to reproduce this on my end. Thank you!

it will be later tonight before I can get the rework finished. But to reproduce just click anywhere on the screen to “play” the game. most of the time I just click on the left side of the screen a bunch of times. If you “hit” something it will just reset the game and clicking will start the game again (it is meant for touch screens) Anyhow, I’m thinking it could be my PhysX causing the problem… I’m going to have to look at that code a bit more too see, but I checked and my PhysX seems to be up to date. But anyhow, you should be able to just run the game in the editor and click rapidly on the left side until it freezes (at max will take two minutes to reproduce). I’ll screen cast it for you tonight if you would like…

Hi ,

Has the rework fixed this error on your end or is it still occurring?

Okey,

So getting rid of the multiple overlapping components fixed the problem. And 4.9 seems to have fixed the problem with collision with overlapping objects freezing the game.

Thanks for your help looking into this.

Hey ,

I’m happy to hear this fixed your error. I will mark this as answered for tracking purposes, if you experience this again, please comment and let me know, I’ll be happy to take another look!