Engine crash on array compile.
I am following the AEC Blueprints by example tutorial from this site.
I am at the step “adding light toggle”.
- I create a new variable.
- Set the type to Actor->Object Reference.
- Use the icon next to variable type to make it an array.
Now when I select compile unreal engine will crash every time.
What happens if you don’t make it an array? Does it crashes?
No that works. I can compile the variable. But if I set it back to array it crashes again.
Ok, I created a new blueprint. I could create the variable without issue.
I went back to the blueprint where I had the issues initially and this one doest crash anymore as well.
So my problem seems to be fixed. Just a little annoying not knowing why it kept crashing in the first place.
So thank you, for your time & help.
And if it’s of another type other than Actor. For example integet or some other object?
Also, does it happens if you do it in some other BP?
Basic stuff works. (int,float,bool,string).
During the last crash, he DID save the object reference array. (I can even switch it back and forth “object variable - array”)
But when I try to create the same object array variable again it still keeps crashing.
Create a new BP, and try it again.
Switching to a new blueprint and creating the variable there solved my issue of crashing unreal in the original blueprint.