Author Topic: Slight Lag on JoinChannel  (Read 3532 times)

Nano

  • Guest
Slight Lag on JoinChannel
« on: October 15, 2013, 04:37:08 PM »
So I have a client in a channel/scene and I seem to experience a weird pause when another player enters the scene on the client that is already in the room. Is there a way to make it so it doesn't affect the game for the player already within the room?

Here is a video that I took of what is happening. Notice the pause when I join the channel.

http://youtu.be/zRfYK1IbhfU

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Slight Lag on JoinChannel
« Reply #1 on: October 18, 2013, 01:29:01 PM »
I am guessing the pause comes from loading your level and performing the initial start-up. TNet does all its logic after you've loaded the level, not before. I suggest you debug it on your end because there is no such pause in the built-in examples.

Nano

  • Guest
Re: Slight Lag on JoinChannel
« Reply #2 on: October 18, 2013, 09:58:07 PM »
Thanks for the reply. I'll try some debugging. How would loading the level for a player joining the room end up lagging another player currently in the room though? That is what is got me stumped. I'll let you know if I find anything more. Thanks!

Nano

  • Guest
Re: Slight Lag on JoinChannel
« Reply #3 on: October 18, 2013, 11:00:49 PM »
I ended up figuring out what was causing the issue. Ended up having to do with my path finding for the players. All is working smoothly now!