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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Access none trying to read property

I am trying to make a mouselook top down view shooter. I have created this to make the player character look at the crosshair to shoot. Every single time i move the mouse at all, this error pops up. Any help will be greatly appreciated and I will upload my blueprint and the error code. The full error code is; "Blueprint Runtime Error: Accessed Non trying to read property CallFunc_K2_GetPawn_ReturnValue from Function 'ExecuteUberGraph_RotationControl"

The result is probably an easy fix but any help is appreciated massively. I am brand-new to using this engine.

alt text alt text

Product Version: UE 4.12
Tags:
help3.png (173.3 kB)
help2.png (255.2 kB)
more ▼

asked Jul 25 '16 at 03:37 PM in Blueprint Scripting

avatar image

KittehBiscuit
3 2 3

avatar image expose Jul 25 '16 at 03:41 PM

hi there. can you tell me what kind of classe is that blue print? is it a player controller, a pawn or otherthing?

avatar image KittehBiscuit Jul 25 '16 at 03:43 PM

Player Controller

avatar image expose Jul 25 '16 at 04:29 PM

can you put the full error sentence please. so we can know wich node is accessing none

avatar image expose Jul 25 '16 at 04:30 PM

did you try to cast to your pawn class?

avatar image KittehBiscuit Jul 25 '16 at 04:37 PM

alt text

help4.png (5.9 kB)
avatar image expose Jul 25 '16 at 05:12 PM

still missing the end :) scroll in the window :)

avatar image KittehBiscuit Jul 25 '16 at 05:20 PM

alt text Thats the very end

help5.png (6.0 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Is this the pawns BP? If so try pulling a pin off target on rot and typing "self" ?

more ▼

answered Jul 25 '16 at 03:39 PM

avatar image

bennetherwood
189 21 21 34

avatar image KittehBiscuit Jul 25 '16 at 03:53 PM

It is a Player Controller class

avatar image bennetherwood Jul 25 '16 at 03:59 PM

I sometimes get this with a pawn, does it only happen at the start of play (the error). Pull off a pin from controlled pawn and type "is valid" then set it to rotate if valid. Did this work ?

avatar image KittehBiscuit Jul 25 '16 at 04:39 PM

It didn't.

(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