Syncing an enum via CoherenceSync

Hi!
I am trying to sync an enum method (or property) via the CoherenceSync unity component.

It is stated in the docs that enum is a supported type:

I cannot make it work though. The CoherenceSync configuration window shows other methods and properties of the script, but not the ones using an enum.

´´´

public enum ItemType
{
    None = 0,
    Jetpack,
    Glider,
}

public class PlayerItemManager : MonoBehaviour
{
    [SerializeField, ReadOnly] 
    private ItemType activeItemType;
   
    // trying to sync this method
    public void SetItem(ItemType item)
    {
        activeItemType = item;
        Debug.Log($"Item {item} has been selected.");
    }
 ...

´´´

Above is the code in question. We are using Coherence 1.7.0.

Hey, looking into this. Can you share what your config window looks like for PlayerItemManager?

Sorry, just realized that we released some 1.8 docs (enums) with 1.7. 1.8 is coming soon and will support enum syncing. I don’t have an exact release date but it is our next release.

Thanks, that makes sense! I will wait for 1.8 then :slight_smile: