Hello, I’ve gotten myself in some trouble that I can’t seem to fix.
The editor crashes when I press play in editor - I can build and play just fine, no problems.
The problem occurred after I implemented a net replicated “player crouch” event, using blueprints. I tried to remove all the new code from the project, but the problem still remains.
Any ideas why this is happening would be much appreciated.
Thanks
UPDATE:
I tried to move some nodes around and this (shown in the images) is what I’m getting now. Also I’m getting an dll missing error, but after rebuilding I still get the same error.
I too have this crash although my steps are different. I have a replicated component with replicated properties and a server function. Every time it crashes when i try to call that server function in my character (where I am using the component) and i have to unplug the execution pin (in character class where i call), compile and PIE. It should then work without crashes. After that I can plug my execution flow normally and it works.
I have not been able to reproduce the same error in a new project.
I have attached some screens from the BP in question. I have removed the code which I thought were causing the problems, but a simple replicated variable (as shown in the screens, isCrouching) also make the editor crash. All is fine if I do the same in other blueprints in the same project.
Apparently, for some people converting their project to 4.11 results in this bug. Everything worked fine before the conversion, but after the conversion adding a new replicated variable causes a crash when playing in PIE.
Would it be possible for you to provide a copy of the project that is experiencing this issue so that I could take a closer look? Please also include steps to reproduce this issue in the project provided.
After digging through the project I was able to find that deleting the saved and intermediate folders prevented this crash from happening on my end. Could you try this and let me know if this helps?
Hi Rudy, I did what you suggested, but I’m still getting the same error. It should maybe be noted that I run PIE with the dedicated server option. Don’t know if that helps…
I have written up a report (UE-30625) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.
I too have a blueprint that will crash the editor if I hit Play, and I am also using Dedicated server with two players. (RepLayout.cpp – Line 2209 error in the log, like many posts I’ve seen)
It worked fine until late last night. Interestingly, if I open the project in editor, hit compile on the blueprint, and then Play…no crash. Obviously it will be annoying to have to compile the blueprint every time I open my project. I’ve tried all the things in the thread above, deleting folders, etc.
If I remove the replication from the variables, I can load the project directly and play with no crash. It’s only when the actor is set to Replicate AND there are variable that are set to Replicate.
What’s really confusing is that everything works great if I press compile first, so it appears that something isn’t being “linked up” or saved properly after the compile which causes the crash to reoccur if I open the project again. It really seems to be some kind of code communication problem.
The only real option left for me is to rebuild the blueprint. I really don’t want to do this because I’ve got about a billion pins connected in other blueprints and if I change the variable type it’s going to cause a lot of rework. If I have to, I have to, but it’d be really nice to figure out how to fix this blueprint so as to not cause a crash when it tries to replicate.
Edit: To add, this project was started as of version 4.11, so no project conversions have taken place.
If it crashes after playing in the editor, then if you hav4.11.2 with FIXIT and LE Extended Library, or one of the two. You need to uninstall and reinstall unreal engine 4.11.2, trust me on this happened to me and working fine now.
For anyone that may find this problem in the future, my class blueprint was crashing due to some issue with double inheritance. When I have a child of this blueprint, I can spawn it into the world just fine. When a child is created of that child…crash with recompile.
I went ahead and double checking on this issue for you and it appears that this issue has been resolved in the current 4.12 version of the engine. This indicates that the issue that you are having may be a separate issue. Could you create a new thread for tracking purposes? If you do, you could then provide a link to the new thread in a reply so that others can follow up.