nanos-world / issues

Issue Tracker for nanos world
9 stars 1 forks source link

[Blueprint] Client needs to restart his game to have the new version #923

Closed NegativeNameNGT closed 1 year ago

NegativeNameNGT commented 1 year ago

Prerequisites

Your Environment

Description

When a Blueprint is updated in an Asset Pack, the client (who has already joined the server in the session) must restart its game, otherwise it loads the old asset

Steps to reproduce the behavior

  1. Create an Asset Pack and add an empty Blueprint
  2. Join the server with the asset pack loaded
  3. Update the BP asset with a Blueprint containing a function
  4. Restart the server and make the client join it
  5. Try to call the function : An error displays saying that the function doesn't exist
  6. Restart the game and join the server
  7. The function correctly fires

Expected behavior

The client should load the new asset

Actual behavior

It loads the old asset

gtnardy commented 1 year ago

I will do a change attempting to fix that, pls let me know if it works after the next update