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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to define owning connection for Actor Component?

I am working on a Networked game. I have an Actor Component attached to the Player State. This Actor Component uses a tick event that calls a server RPC function. This call returns the following error in the output log every tick: LogNet:Warning: UIpNetDriver::ProcesRemoteFunction: No owning connection for actor GameplayPS_C_3. Function RegenerateStamina will not be processed.

I believe this error message is only called when a client tries to call that server RPC function on a PlayerState that is not owned by the client. The Actor Component works as intended, but the error messages get in the way when I try to debug, and they annoy me.

My issue can be reproduced with the following steps: 1. Create a firstPersonTemplate project 2. Create a new PlayerState, and ActorComponent 3. Add the PlayerState to the Map's GameMode 4. Add the created ActorComponent to the PlayerState components-list 5. Open the ActorComponent, create a Custom Event, set Reliable, Replicated to Server, make that function print something. 6. Call that function with the tick-event in the ActorComponent. 7. Change Play Settings to "4 Players" (something > 1 player) 8. When you run it the Output log will print an error much like the one I provided. Ex: LogNet:Warning: UIpNetDriver::ProcesRemoteFunction: No owning connection for actor PS_Test_C_2. Function asd will not be processed.

//Best Regards, Albin

alt text alt text

alt text

Product Version: UE 4.16
Tags:
connection.png (40.8 kB)
connection.png (40.8 kB)
componenton.png (16.8 kB)
more ▼

asked Sep 02 '17 at 03:44 PM in Blueprint Scripting

avatar image

Manspear
21 2 3

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

0 answers: sort voted first
Be the first one to answer this question
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