VeriorPies / ParrelSync

(Unity3D) Test multiplayer without building
MIT License
4.51k stars 318 forks source link

[BUG] Scriptable objects' values are not updated/synchronized automatically. #69

Closed KCrossX closed 2 years ago

KCrossX commented 2 years ago

Describe the bug Scriptable objects' values are not updated/synchronized. (Scriptable object creation are synced)

To Reproduce Steps to reproduce the behavior:

  1. Create any scriptable object on the main project
  2. Change window focus to cloned project (parrelsync will refresh directory as expected.
  3. Go back to main project, then change any value/s in the scriptable objects
  4. Go to the cloned project and inspect the scriptable object

Expected behavior The scriptable object should contain updated values, but right now it does not.

Screenshots/Video none

Enviroment (please complete the following information):

Additional context Current alternatives are either:

0x-1 commented 2 years ago

Does File -> Save Project solve this problem?

I remember uEcho had the same Problem as Unity does not immediatly serialize stuff to the disk but keeps it in-library/cached state. This logic applies to everything that does not have an 'apply' button within the editor.

KCrossX commented 2 years ago

Oh my, it seems to work.

I'll start using this (underused) Save Project more often. Sure it's not automatic, but it's literally just one button to synchronize (hopefully all) stuff.

Thank you @0x-1 for your help.

tgienger commented 1 year ago

Saving does not update the values for me at all.