I’ve created a widget blueprint for a pause menu, within the widget I have some text, the text is linked to a function which is just “Get Real Time” → “Return Node”. When I bring up the widget in play mode the game and editor will consistently crash.
I have a few questions for you that will help narrow down what issue it is that you are experiencing.
- Can you reproduce this issue in a clean project?
- If so, could you provide a detailed list of steps to reproduce this issue on our end?
- Could you provide screen shots of any blueprints/widgets that may be involved with this issue?
- Could you provide the complete callstack that is given when the editor crashes (including machine ID)?
I can reproduce it in a clean project. The steps I made were:
1.Created a new project from the third person template in 4.13.2.
2.Created a new widget blueprint, in the Designer I dragged in a text block.
- I bound the text to a function “RealTime”, Figure 1
4.In the ThirdPersonCharacter blueprint I created Figure 2.
5.Play in viewport, press Space Bar, crash.
There is no crash report menu, it just crashes the editor and does nothing else. Also upon reopening the editor there is no acknowledgement that the editor did not close correctly and no prompt to recover or reopen any assets like with other crashes. I don’t know how to get the call stack otherwise, but I’ll keep this project file if you have any more questions about it, if you could tell me how to get a call stack I’ll be happy post it.
Could you provide a zipped down copy of the project that is having the crash so that I could take a closer look? I have been unable to reproduce the crash with the information provided.
Of course. Compressed it’s more than 5Mb so I’ll have to share it via Google Drive.
Get Real Time crash project files
After taking a look at the project provided. This is working as intended. You appear to have set up a binding to use a function called “Real Time”. Inside of this function you are using the return value of that very same function to set the return value of itself. This causes an infinite loop. This is why you are receiving a crash. I hope that this information helps.
Make it a great day