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"

Character Blueprint Compile Issue

I've been following some guides to study and learn more about the engine, so I'm learning on how to properly animate a character, and for the most part it's worked well, but I seem to have an issue with certain transitions, for some reason when I try to compile the project it tells me;

"Node Result uses potentially thread-unsafe call Get Player Controller . Disable threaded update or use a thread-safe call. Function may need BlueprintThreadSafe metadata adding."

alt text

Basically something is wrong with the Get Player Controller/Character Movement calls that prevents the compile, even though I've followed the guides step by step. Could it be a glitch, or has the engine been updated so I need a different method?

Product Version: UE 4.15
ue4.png (454.6 kB)
more ▼

asked Mar 17 '17 at 04:47 PM in Everything Else

avatar image

23 1 2 5

avatar image 宇智波呆兔 Apr 16 '17 at 01:20 PM

Did you disable it?

avatar image AxisSleight Feb 27 '18 at 06:55 AM

Which Tutorial is this? Just Curious

avatar image Brantly Feb 27 '18 at 08:33 PM

I believe it might be this one here: https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/CharacterMovement/Blueprints/index.html

I might be wrong, but at the least, this tutorial was helpful for me if you're looking to dig into animation in Unreal! If I find later that it was a different tutorial, I'll come back to this comment and post it!

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

3 answers: sort voted first

Hi. Compilation is not failed, it's just a warning about multithreading issues. Compiler disables multithreaded updates for your blueprint because you use nodes which can't be executed in parallel maner safely. You can disable multithreading animation updates globally in your project settings or avoid to use these unsafe nodes. Turtorial was made for earlier versions of engine which wasn't support multithreaded updates.

more ▼

answered Mar 17 '17 at 05:24 PM

avatar image

1k 13 8 31

avatar image PR-DanielAnthony Mar 17 '17 at 06:20 PM

Ah, I see, that fixed it, it's working as intended now, thanks. alt text

ue4fixed.png (1.1 MB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

here you can find it: alt text

screenshot_1.png (80.5 kB)
more ▼

answered May 26 '17 at 01:49 PM

avatar image

925 20 44 64

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

I wanted to make an addendum to this, having also worked with the tutorial and solved an additional error besides the multithreading issue!

Working from v 4.16.2, when using Get Player Character, the animation system does seem to work, but returns an error at runtime stating "Accessed None trying to read property CallFunc_GetPlayerCharacter_ReturnValue from function..."

Please view the image for the descriptive solution, but I'll also leave a plaintext explanation below:

alt text

Instead of using Get Player Character in your Anim Graphs, create and use a reference variable to the owned pawn, which can draw out any of the pawn's attributes and variables on its own! Using the original Try Get Pawn Owner node's cast to the owned pawn, click and drag from the cast's blue return pin, let go, then from the action menu that pops up, select "Promote to variable" to create the reference. Getting the reference variable and pulling pins from it can access anything it has, including the Character Movement component you may be using in this tutorial!

Hope this helps!

more ▼

answered Aug 12 '17 at 11:31 PM

avatar image

26 1 4

avatar image paratrongatulus Dec 18 '17 at 07:11 PM

That did it! Thank you so much!

avatar image Brantly Dec 22 '17 at 09:10 AM

Glad I could help! I figured somebody else would come across the same concern eventually!

avatar image SSkipper Jan 05 '18 at 08:17 PM

This gives me 54 Errors... instead of the two I am getting for using get "player character."

avatar image Brantly Jan 06 '18 at 03:32 AM

Oof... in that case, Get Player Character may be well enough! Last I remember, everything technically still worked despite the errors, so you may be able to just ignore them (don't tell anyone I said that, haha!).

If you post your BPs and other relevant info, someone more adept than me might be able to help! I've found that folks are pretty quick on the draw here!

avatar image DenizM47 Apr 11 '19 at 01:10 PM

You sir, are a beast. Thank you.

avatar image Brantly Apr 11 '19 at 03:19 PM

No problem at all!

(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