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"

blueprint runtime error accessed none trying to read property

Hi. I have an error in the message log regarding Accessed None Trying to Read Property. Some have solutions. Thanks.

I do not understand the error in the log message.

Source: https://www.youtube.com/watch?v=eus0qScamvg&list=PLmKKTERcjTPIkMH9iK3gTUyl976_TW1hj∈dex=21

alt text

alt text

Product Version: UE 4.21
Tags:
capture7.png (34.4 kB)
capture8.png (263.7 kB)
more ▼

asked Jun 13 '19 at 06:25 AM in Blueprint Scripting

avatar image

Jhon SIlalahi
1 1

avatar image Nebula Games Inc Jun 13 '19 at 12:01 PM

This is a common error. Check out video #27 in the link below it may give you some insight as to the cause of your issue.

https://www.youtube.com/playlist?list=PLyu-W38DvZhqByAoeva1jewB5s78zQHIy

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

1 answer: sort voted first

Hi,

It seems, when overlap event was triggered, your QuestManagerRef inside BP_RoleTank wasn't initialized properly. Can you provide more details, e.g. how you obtaining QuestManagerRef?

more ▼

answered Jun 13 '19 at 06:53 AM

avatar image

Ted_Undead
31 3 3

avatar image Jhon SIlalahi Jun 13 '19 at 07:04 AM

I have initialized the Quest_Manager_Ref variable in bp_role_tank.

alt text

alt text

capture9.png (335.7 kB)
capture10.png (357.9 kB)
avatar image Ted_Undead Jun 13 '19 at 08:16 AM

You can print out a "display name" after quest_manager_ref assign. And inside quest trigger blueprint print between cast to bp_RoleTank and branch. Make sure that overlap wasn't triggered before quest_manager_ref was assigned. alt text

refcheck.jpg (68.0 kB)
avatar image Jhon SIlalahi Jun 13 '19 at 10:48 AM

Thank you for the solution

(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