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"

Editor Freeze if possesing pawn with AI controller

  • A bit of UPD on my question.

  • Here is what i found, if i try to posses an already existing, uncontrolled character with AI controller on server (from actor component) while in multiplayer mode, editor keeps freezing and never gets back until i destroy it by task manager.

  • To reproduce > simply follow the screenshots.

  • The bug persist even if i create server custom event instead of func.

  • All the steps to reproduce this, you can see in the screenshots below.(open in new tab for resolution)

1st. create actor component, and add single function and ai controller variable, below. alt text 2nd. create a pawn, and add that component to him, and making beginplay with delay, if server, and check if not player and call that func. alt text 3rd. set players numbers to 2, then set the pawn as default in game mode, and add some pawns into level as ai bots, where the events should actually call. alt text 4th. click beginplay and after 2 seconds whole editor freeze, then just destroy it by task manager because it never gets back.

P.S it is 4.19 and yet no fix, here is ready project below, just set players to 2 or more on test map and click play. http://www.mediafire.com/file/92n30ye687z6gug

Product Version: UE 4.18
Tags:
screenshot-3.png (306.5 kB)
screenshot-19.png (243.6 kB)
screenshot-17.png (241.8 kB)
screenshot-18.png (993.1 kB)
more ▼

asked Feb 11 '18 at 07:25 AM in Blueprint Scripting

avatar image

Dino zavr
78 6 7

avatar image GlassBeaver Feb 12 '18 at 07:36 AM

If this were a c++ project you could try attaching the Visual Studio debugger to the editor and check if any exceptions are being raised in the Output window of VS. That could help pinpoint the source of the problem.

avatar image Dino zavr Feb 12 '18 at 07:44 AM

yep, but yet i am not using c++, just the bug is ridiculous and annoying, ue4 staff should really look into it.

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

Hey,

This was fixed in 4.19

more ▼

answered Feb 12 '18 at 08:10 PM

avatar image

Trey Z ♦♦ STAFF
970 2 4 7

avatar image Dino zavr Feb 12 '18 at 08:17 PM

Thank you very much for answer, i was afraid it was not. Do you have any approximate release date for 4.19?

(comments are locked)
10|2000 characters needed characters left

Hey guys i want to reopen this question, because you said it was fixed in 4.19, i just downloaded 4.19 and created the same logic again, and NO it didn't, Staff please, why you told me it was fixed if it does crash-freeze the engine again in 4.19? When it will be really actually fixed?

more ▼

answered Mar 16 '18 at 09:21 PM

avatar image

Dino zavr
78 6 7

avatar image Dino zavr Mar 17 '18 at 06:26 AM

Here is created example project with bug can be seen in 4.19 link to project below, just open and set players to 2, or more, and catch the freeze. http://www.mediafire.com/file/92n30ye687z6gug

avatar image Trey Z ♦♦ STAFF Mar 19 '18 at 07:43 PM

Thanks for bringing this back to our attention. We'll be looking into this issue and you can track it at UE-56276

(comments are locked)
10|2000 characters needed characters left

The AIController is created with an Owner of the Pawn but then you possess the Pawn with that Controller. This is creating an infinite loop when trying to determine the NetConnection which is why it hangs.

Disconnecting that Owner pin when spawning the ai controller resolves the loop.

I don't yet know if there is a reasonable code fix for this, but hopefully not setting up that relationship should resolve your issue.

more ▼

answered Mar 19 '18 at 10:18 PM

avatar image

Marc Audy STAFF
2.2k 42 35 95

(comments are locked)
10|2000 characters needed characters left
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