My project crashes on start up. I’m using blueprints and I made a macro with a math node inside. The expression is “round(x/10)10”.I saved and it crashed, and now it crashes on start up. Does unreal not have incremental saves?, I have a lot of work in this project.
!Id:da7a06823c8504c918d726117b5a4f4b
We apologize for the inconvenience.
Please send this crash report to help improve our software.
If you remove the macro expression from your project does it crash still? Can you please post your logs so I can have a look at what might be going on? Thank you!
If you know the filepath of the expression you can go into your project folders and pull the file manually. It should be located in the \UnrealProjects\PROJECTNAME\content\FOLDERNAME.
If you were able to pull the file that causes the crash and feel comfortable with it I’d be happy to take a look at it and see what might have occurred.
Can you try to recreate the expression in a second macro and see if the crash occurs again? I am getting a crash on this end and would like to see if it is specifically a corrupted file or if it is the expression itself that I can test. Thank you!
We have not heard from you in quite some time. I am marking this question as answered for tracking purposes. If you are still experiencing this, please comment here with the information requested. Thank you!
Hello there,
i’m having the same issue. Regardless of how easy the math expression is, the error is about “casting” failed, like it were trying to cast the mathe expression in some way.
Error-Header:
Unknown exception - code 00000001 (first/second chance not available)
Cast of K2Node_MacroInstance //Game//Blueprints//BP_2D_Array_Int.BP_2D_Array_Int:GetElementAt.K2Node_MacroInstance_438 to K2Node_MathExpression failed
If I replace the expressions by the graph they represent it works fine without error. The error crash at startup appears if the blueprint was saved before compiling, so each time the blueprint is opened again, the editor crashes immediatly.
The original project was c++ compiled and therefore not clean.
But I created a new blueprint FPS project with the UE launcher and migrated ONLY the macro library there.
Then, I created a new blueprint that should use one of those macros defined in the library and added a math expression node like: (x*y) + z
Before adding that expression, it worked fine. Adding the expression caused the editor to collapse again with a similar error message.
It is safe to assume that the bug is reproduceable.
Edit:
I realized something - I think I read something that a macro is not allowed to contain another macro inside of it ( or something like that ). Could that be the issue here?