Developer Notes

This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.

Description

Using OnRep_StaticMesh() in code or using the Set Static Mesh node does not replicate across server/client in game.

Steps to Reproduce

1. Open UE4Editor (any project)
2. Create new blueprint based on Actor
3. Add Static Mesh Component and set to Cube
4. In event graph add Key press Even (F key)
5. Add reference to Static Mesh component
6. Drag off from SM ref node to create a Set Static Mesh node (Leave New Mesh pin as "Select Mesh")
7. Wire F key event node to Set Static Mesh node
8. In BP defaults, set actor to replicate and set Auto Receive Input to Player 0.
9 Add instance of BP to the level and PIE

Result:
Pressing F on either server / client will remove the mesh on that one but will not affect the other.

Expected: Changing what mesh is set updates across clients and server.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

30
Login to Vote

Won't Fix
ComponentUE - Networking
Affects Versions4.7.64.84.13
CreatedJun 2, 2015
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue