For some unknown reason, the mesh assigned to the turret keeps disappearing once every few times I compile.
I’ve had this problem before with the barrel, that happened because I forgot to assign the barrel reference in blueprint. So now I’ve made sure that is hooked up correctly, and I have no idea whats going on.
Yeah I am struggeling with the same issue. After some research I found that it could mean that we have a “Circular Reference” in the Blueprint. But I have no clue what that means. I know circular dependencies in code, but never heard of that one…
Also, if you are losing things like the projectile reference, you need to write a seperate function to set it up. this can’t be done by default in the construction script (or I missed something…)
Upon making the projectile BlueprintReadWrite it needs to be public. However when I do as you suggest @DanM it disappears from the details panel in the Aiming Component blueprint so I can not set it.