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"

Accessed None Error from Blueprint in Pawn Controller on Set Control Rotation node.

I think it's important to note that this blueprint was working just fine earlier today without any modifications. I've started over 3 times now and so far I've always come back to this error after some time passes as if the engine suddenly decided "nope, I don't feel like running smoothly anymore," but I digress.

Dear community, I've tried everything after searching this forum and it's companion reddit community for a solution but no luck so far. Can you see anything in my blueprint that may be causing this error? Or have you encountered this before and solved it? How did you do it and what can I do to solve my own dilemma?

I'm beginning to think that this is a problem with the editor itself. I am on 4.22, I am going to try 4.21 and see if that solves the problem. But since I know software problems don't fix themselves that easily I'm not holding my breath...alt text

Product Version: UE 4.22
Tags:
blueprint.png (723.8 kB)
more ▼

asked Apr 11 '19 at 03:15 AM in Blueprint Scripting

avatar image

Sfoxx28
5 1 3 4

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

2 answers: sort voted first

My problem is not within the blueprint. It had nothing to do with it. As I just discovered, UE4 does not like it when I place a player inside the realm of another object. For example, lets say I made a torus ring and increased its X,Y scale by 10000. It's really big now. Then if I place my player in the center it will then throw this error. I don't know why exactly. I guess UE4 doesn't like it when a player is inside the boundaries of a blueprint. Removing this boundary fixed my issue but not after ripping my hair out trying to find out what was wrong with my code.

more ▼

answered Apr 12 '19 at 06:40 PM

avatar image

Sfoxx28
5 1 3 4

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

Umm....this is likely due to collisions and your player character being deleted. Check the world outliner and see if your player character even exists when you place it in the middle of a torus. My guess is, the "torus" isn't actually "hollow" when you look at the collision properties and placing a character inside basically means it is "stuck" and bugs out gets deleted then when you try and rotate the player character the "get player character" node returns a null value. And if that isn't it, then you actually have a "pawn" class for the player "character" and not an actual "character" class. So get player character returns none. If this is the case, the solution is simple, just use the node "get player pawn" instead of "get player character" and everything will be fine :)

more ▼

answered Apr 12 '19 at 07:26 PM

avatar image

Nebula Games Inc
5.4k 28 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