duduskwood
(Tanguy Pavé)
March 21, 2023, 10:24am
1
Hi !
I actually have a strange problem …
I work with BluePrint and i have a structure, which is …
Today, i’d like to add a variable, which is an other structure
This one. So, i just added the variable like this :
And when i saved and launch my game to check, i got all my BluePrint ‘failed to compile ’…
Some of BP has
some variable which disappear…
Thanks to me, i saved my work on GitHub and i can backup my project but i’ve tried multiple times and i don’t understand why it’s happening
Thanks to everyone which answer me !
I find UE is very finickey around structures.
When you first change the structure, you’ll get an update warning, bottom right
for all the other BP items that use this structure. I’d click it and save, then exit.
It should be ok when you restart the editor. But I have found that changing structures and just carrying on will lead to a crash.
Good that you backed up
1 Like
duduskwood
(Tanguy Pavé)
March 21, 2023, 10:51am
3
Hi !
Thanks for your answer, and rapid answer !
So, just tried but all my BP broke again
Same problem
Does i have to save one file by one file ?
I’ve seen when i add a variable which is not a custom structure, following your trick, it’s work without any problems … But when change it to my custom structure that broke
1 Like
Yes, it can’t handle nested structures, apparently…
duduskwood
(Tanguy Pavé)
March 21, 2023, 11:19am
5
Oh ! I’ve found a solution, strange solution
So … Modify structure, add the new structure :
Now, save ONLY the structure
Close UnrealEngine, discard any other BP changes
Re-Open UE5 and that’s work
Don’t understand, but it’s ok
So thanks for your answer ! and your answer time, i appreciate a lot !
Have a nice day
4 Likes
FAKlR
(FAKIR)
July 8, 2023, 3:18am
7
Thanks you : i thought i had lost 10 days of work because of this bug . I hope they will resolve this .
Edit : for me its inconsistant the first time it worked , then tried on another struct and this problems happened despite not saving others actors .
So it force me to roll back on ue4 and loosing 10 days of works