Here’s the basic setup that compiles without warnings
I just drag’n’find FIND ITEM to work with Array
but after re-opening project it gives a warning
Here’s the basic setup that compiles without warnings
I just drag’n’find FIND ITEM to work with Array
but after re-opening project it gives a warning
Hi coolerinc,
Hi ,
I checked this with a blank project without content. All steps are shown on my screenshots.
You can reproduce this warning by drag the Actor Hit from Break Hit Result and find FIND ITEM (Array). connect nodes to each other and compile - it says everything is ok. then save the project and close. after next opening you’ll see the warning
Hi coolerinc,
Try plugging the hit actor into your add array node. It looks like it isn’t getting correctly populated. Additionally, ensure that the hit actor is of the same type as the actor array.
the idea was to spawn some objects and add them into array
if I drag’n’find the node FIND ITEM from Hit Actor it connects without problem, after restart cannot connect them - it says “actor reference is not compatible with … Blueprint (by ref)” but before it was ok
I tried to do as you said I’ve got the same result after re-open project
I have not been able to reproduce this on my end given the steps provided. Do you have a sample project this is occurring in you’d be willing to share? I’ll be happy to take a look and see what may be going on.
here’s archive with the project
delete FIND node and then drag a new one from the Actor Hitlink text
After having a look at the project I understand what the error you are seeing is. The array you have is of type “sphere blueprint”. While all “sphere blueprint” actors are actor blueprints, not all actor blueprints are “sphere blueprint”. You will have to confirm that the actor you hit is a sphere blueprint before you can set it to the array. To do this, drag off of hit actor and implement a “cast to sphere blueprint” node. You will want to do this before your add array. From the "As Sphere Blueprint C output pin, you can add, find, and get the actor as you have set up. The warning you are receiving is simply letting you know that “hit actor” is referring to any actor hit, not just sphere blueprints.
thanks for your help