Why does referencing my actor cause it to break?
So I am making a game and I have a CCTV camera actor. The actor was working perfectly fine until I tried to cast to it. Casting to it was working fine, and my blueprints were working. However, when I close the engine and re-open my project lots of the actors components were deleted causing parts of the script where these components were referenced to disappear. At first, I thought that this problem was solely based on casting but I have now found that if I try to reference my CCTV actor in anyway (such as applying damage) I get the same problem on reopening the project. I have however noticed that when I remove all of the references to my actor, the problem fixes and all the components return. Please help. (Sorry idk why my pictures came out so bad)
In the first image I see "Invisible Point" in your hierarchy below "Cylinder 3". In the final image with the errors, I only see "Cylinder 3" and it is missing the "Invisible Point" and everything seems to be parented to the default scene root where as in the first image only invisible point and cylinder 3 were parented to the default scene root, and everything below invisible point was parented to the invisible point. Looks like you deleted "invisible point" somehow and now it is unable to get a reference to it.
answered Mar 01 '19 at 04:19 AM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here