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"

some erorr while deactivating audiocomponant

I have some error with my widget blueprint Pls tell me How to fix it. TY. alt text alt text alt text alt text

Product Version: UE 4.21
screenshot-17.png (252.6 kB)
screenshot-16.png (227.3 kB)
screenshot-15.png (286.0 kB)
screenshot-14.png (283.8 kB)
more ▼

asked Nov 28 '18 at 08:18 AM in Blueprint Scripting

avatar image

5 1 4

avatar image Tuerer Nov 28 '18 at 08:49 AM

I guess you're trying to turn off the sound when its parent is already destroyed. Try deactivating it somewhere earlier in the execution chain.

avatar image CRExufeX Nov 28 '18 at 04:12 PM

Can u show me where i should place it?I'm newbie :,(

avatar image Tuerer Nov 28 '18 at 04:17 PM

I don't see the entire blueprint, so I can't. It must be placed somewhere BEFORE you destroy the actor that holds this audio component.

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

1 answer: sort voted first

"attempted to access ... pending kill" is usually due to the blueprint trying to call an object that no longer exists or will be destroyed shortly. most of the time you can get around this issue if you use an "is valid" node alt text
(not the fuction "isValid", but the ? one) in front of anything you're trying to access that might be destroyed at some point.

so in your bp i guess you cloud try dragging out of the "s" variable and check if it's valid before "Deactivate"

isvalid.jpg (24.7 kB)
more ▼

answered Nov 28 '18 at 05:59 PM

avatar image

31 1 4

(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