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"

Projectile not appearing on clients.

I am trying to make a projectile that is spawned by the server and replicates to the clients. The issue i am having is that my projectile is invisible on the client system.

These are the replication settings of the projectile blueprint. alt text

This is the code that is spawning the projectile.

alt text

Does anyone know what this issue is?

Product Version: UE 4.16
Tags:
image.jpg (26.3 kB)
image1.jpg (60.3 kB)
more ▼

asked Aug 24 '17 at 06:21 PM in Blueprint Scripting

avatar image

stigglewiggle
2 3 5 9

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

1 answer: sort voted first

I am assuming that it's because you aren't actually calling a server RPC: https://gyazo.com/3ea558bb8ebb3966ba5b36fef5d0e8aa

Just tested this out in a brand new FPS template. All I did was replicate projectile and add this little bit in between input and what I want to happen.

(FYI, server spawning projectile would always allow clients to see it BEFORE I asked Server to spawn from client, so this actually isn't your issue probably, but it does allow both client/server to show projectile fire)

more ▼

answered Aug 24 '17 at 07:06 PM

avatar image

VictorBurgos
2.4k 61 27 113

avatar image stigglewiggle Aug 24 '17 at 10:11 PM

I am already doing this. alt text

image2.jpg (143.3 kB)
avatar image stigglewiggle Aug 24 '17 at 10:29 PM

I am an idiot. The shapes I was using to get the spawn location had their scale set to 0.1 so the projectile came out at 0.1 scale so it was invisible

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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