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. 

Push large InitOnly array to client

Hello, Im trying to make a large world made of tiles (100x100 - 512x512) using Hierarchical Instanced Static Mesh Components. This works well however all this information is stored in arrays and i need the client to get this information so they can generate the world and keep track of changes locally

My problem is when the client joins they instantly disconnect

Is there a way i can get the client to receive the InitalOnly array without instantly disconnecting

Product Version: UE 4.17
Tags:
more ▼

asked Oct 03 '17 at 11:54 AM in Blueprint Scripting

avatar image

Eskarn
1 2 1

avatar image Eskarn Oct 05 '17 at 07:29 AM

So i have a work around of sorts since i cant replicate Hierarchical Instanced Static Mesh Instances otherwise i would just make the server generate them...

So the duct tape solution is when the client joins they pretty please ask the server to get the first 1k elements of their correct array and add them to a buffer array and then pass that to the client using a owning client custom event call then the client appends the array and asked the server for the next lot Until all the arrays are synced up

(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