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"

EQS EnvQueryContext ProvideSingleActor Blueprint compile bug

I encountered this bug following the Unreal training stream found here: Setting Up Advanced AI: https://www.youtube.com/watch?v=NZZtMNdJk5o&t=2819s&list=WL∈dex=14

In the comments others have run into this bug as well. This is related to the answer hub question here: https://answers.unrealengine.com/questions/393925/eqs-testing-pawn-not-working.html

It was stated that a new report be made about ProvideSingleActor over six months ago, and it seems that it has not been addressed.

Problem: When something is changed in the ProvideSingleActor function after the first compile and save, it no longer returns anything.

Using 4.14.3.

-Create a new Blueprint ThirdPersonShooter template project. -Create a new Environment Query.

-Create a new EQSTestPawn blueprint class and drag it into the project.

-Set Query Template in EQSTestPawn to created environment Query.

-Create new blueprint from parent EnvQueryContext_BlueprintBase

-Override ProvideSingleActor in new context blueprint class.

-Set returned actor to the querying actor.

-Set up some test in the EQ that uses the new context. It works.

-Now, change ProvideSingleActor to return the ThirdPersonCharacter instance. It reports a successful compile but that context no longer returns a value.

-Create a new context as above and first make it return the ThirdPersonCharacter actor, and it works as expected. Change this new context to the simple returning querying actor and it no longer returns a result.

The workaround of course is to just create a new context and do it how you want to first, then it works. It seems the function ProvideSingleActor in EnvQueryContext_BlueprintBase is failing to recompile properly after initialization.

Product Version: UE 4.14
Tags:
more ▼

asked Jan 16 '17 at 05:00 AM in Bug Reports

avatar image

Rejji
6 1 4

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

1 answer: sort voted first

Hey Rejji,

I've reproduced your issue and have entered a bug report, which you can track using the link below:

https://issues.unrealengine.com/issue/UE-40672

Thanks for your report.

Have a great day

more ▼

answered Jan 16 '17 at 04:05 PM

avatar image

Sean L ♦♦ STAFF
43.8k 485 152 440

avatar image Rakosman Mar 04 '17 at 09:46 AM

I experience this bug as well. After playing around with it quite a lot, I found that the context will fail after every compile - even if only a reroute node was added. I did not test specifically if it was only happening for the testing pawn, or for everything.

A simple work around is to reload the map (no need to reload the whole project.)

(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