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. 

Spline Mesh Component replication bug

Hi,

i´m programming a network based buildsystem like in RUST and i tried to implement the possibility to build fences. So i decided to give splines a chance because it looks good for my needs. Now my first prototype is working well with a bug. The problem/bug is that in network the clients doesn´t see the added spline mesh components but the collision works because the clients can´t run through them. The host always see all spline mesh components. The first placed Spline with its first two points is visible to all. When i´m adding new spline points to a selected spline and call my render function the spline with all its new splinepoints/spline mesh components are only shown on the host.

Here screens from the runtime: The numbers over the pillars are the spline points. HostClientView

Here i add a spline point to an existing spline and call a defined function of the Spline BP_Actor called "RenderSpline". AddSplinePoint_with_Serverfunction

Now in the "RenderSpline" function i do this: RenderSplineFunction

and in the Subfunction called "BuildSplineElement" i do this: BuildSplineElementFunction

I already tried to seperatly set the reference "Local Current Spline Mesh" to set replicated to true, but this doesn´t help.

Now i´m really annoyed and confused about this and hope there is some one on the planet who can help me out.

Here is a screen of what i´m already able to build with my network based buildsystem: Buildsystem

Bye

Product Version: UE 4.10
Tags:
more ▼

asked Nov 23 '15 at 09:04 PM in Blueprint Scripting

avatar image

Darkentik
51 2 8 8

avatar image Darkentik Dec 15 '15 at 06:46 AM

Is no one working with Splines at runtime and could help me?

avatar image Howie Aug 04 '16 at 04:51 PM

did you every find a solution to this? I'm having the same problem :(

avatar image salm Apr 04 '18 at 06:02 PM

Hey, I just ran into this bug in 4.19. Adding the component in BP with a node, set to replicate ( bath actor and component). The client won't render, but will receive collision.

I guess the workaround is to use RPCs to generate the spline on both server and client by feeding them the same parameters.

avatar image salm Apr 05 '18 at 04:05 PM

OK. What is going on!? I use RPCs call to tell the PlayerController to add SplineMeshComponents to an actor and it still doesn't render on both sessions. like above, collision is working, but the mesh is invisible on the client.

Neither the components nor the actor the components are added to are set to replicate. Why is this happening?

avatar image Darkentik Apr 10 '18 at 08:10 AM

Hey, that is so sad that EPIC doesn´t care about such bugs. Maybe we must send a bugreport to them. I can´t say some news to this because i never tried it anyway. We removed the fences from our buildsystem and focused on other cool stuff to implement yet.

(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