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"

[BUG] Possessing freshly spawned pawns doesn't work for clients

Version: 4.7.3

Platform: OS X & Win

Description:

When you try to possess a freshly spawned pawn the possess will happen but it leaves the client in a broken state in which input doesn't work for that character.

Notice that this only happens on clients, so after opening the project make sure you check run dedicated server.

Case A) Call Possess on fresh spawned pawn without calling unpossess in previous frame

  • open CaseA map

  • hit play, move character a bit, hit k

  • after 3 seconds, new character is spawned and possessed

  • notice how your input won't work for that new character

For this situation to work, you need to call Unpossess in a frame before Possess is called. If you open CaseAPlayerController and connect the Unpossess node at the end of KillCharacter, possessing will work fine, but if you call Unpossess in the same frame where you are possessing the new character (inside Respawn) it will not work either.

Case B) Spawn character before trying to possess it

  • open CaseB map

  • hit play, move character, hit k

  • notice how the next character is spawned right away

  • after 3 seconds, possess is called on it

  • notice how it works properly when you try to move the new character

In this case we aren't even calling unpossess. So it seems that possessing will only work for clients if:

  • pawn trying to be possessed was in the scene before trying to possess it, or

  • can only possess a freshly spawned pawn if unpossess was called before the frame when we try to possess

If you have any questions, please let me know.

Regards,

Nuno Afonso

Product Version: Not Selected
Tags:
more ▼

asked Mar 27 '15 at 02:14 PM in Bug Reports

avatar image

nafonso
132 8 14 17

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

1 answer: sort voted first

Hi nafonso,

I was able to reproduce this and have entered a bug report, UE-13065 to be assessed by the development staff.

more ▼

answered Mar 31 '15 at 04:03 PM

(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