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"

Error Accessed None

EDIT: http://youtube.com/watch?v=Ubn5dR1EKwQ a quick video

I have tried to check if there are any bullets in my weapon blueprint, but every time it returns the variables I have in my weapon blueprint as empty.

I think it is related also to this error: alt text

Product Version: UE 4.8
Tags:
error2.png (420.4 kB)
more ▼

asked Jul 24 '15 at 10:03 PM in Blueprint Scripting

avatar image

Critfame
6 1 3 4

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

1 answer: sort voted first

The pointer variable "Equipted Weapon" is null when using it. That is forbidden! Use an "IsValid" node for all your pointers before actually using them. This is basic C (not even C++). If you don't understand what i'm talking about, watch this video of me:

https://www.youtube.com/watch?v=PmcaFCMDnqQ

more ▼

answered Jul 25 '15 at 02:50 PM

avatar image

eXi
6.8k 333 185 470

avatar image Critfame Jul 25 '15 at 05:34 PM

Ok I understand now, but in the BP_Character I have set EquippedWeapon to be a reference to BP_Weapon_AK74. Doesn't that mean it's not null and is valid, because when I try to verify with IsValid it returns it is not valid :/ I can put my entire project in .rar and send it to you to check :/

avatar image Shadowriver Jul 25 '15 at 07:36 PM

You will get non valid on null too, as null is a soecific adress (zero) which points to unallocated memoery which is not valid. Which means most likely means one of object varables is not set

avatar image Fanto88 Jul 26 '15 at 11:33 AM

If you can send me the link for download the project on skype, i will take a look.

SKYPE ID: X-BiGBoSs-

(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