- Home /
Question by
H-apps · Apr 02, 2018 at 11:03 AM ·
networkingexecution order
UNET Execution order of RPC and Commands compared to normal Update and FixedUpdate
I am wondering in which order (https://docs.unity3d.com/Manual/ExecutionOrder.html) the code in a RPC or Command is executed in the specific frame where the message is received.
Is it before or after Update/FixedUpdate ?
Comment
Best Answer
Answer by hexagonius · Apr 02, 2018 at 01:49 PM
According to the networking bitbucket Repository's NetworkIdentity, it has a UNETUpdate euch comment states that it's called immediately after regular Updates, which means in between Update and FixedUpdate
Your answer
![](https://koobas.hobune.stream/wayback/20220612155849im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Script execution order with unet, player and spawnPoint 1 Answer
RPC function order 0 Answers
Death handling peculiarly 0 Answers