x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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) alt textalt text

alt text

alt text

Product Version: UE 4.21
Tags:
iluhv.png (201.6 kB)
3.png (459.4 kB)
3.png (459.4 kB)
4.png (513.1 kB)
more ▼

asked Mar 01 '19 at 04:14 AM in Blueprint Scripting

avatar image

Cedarkid
1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Mar 01 '19 at 04:19 AM

avatar image

Nebula Games Inc
4.9k 27 9 14

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question