Search Unity

Bug FixedString64Bytes bug in Inspector

Discussion in 'Multiplayer' started by Preddiee, Feb 25, 2024.

  1. Preddiee

    Preddiee

    Joined:
    Aug 18, 2020
    Posts:
    2
    Hello,

    Whenever I use "NetworkVariable<FixedString64Bytes>" and make it public, it gives me alot of errors in the console like this;
    upload_2024-2-25_11-38-47.png


    And my script in the inspector is not showing up, meaning I cannot see and change the public values!

    upload_2024-2-25_11-39-46.png

    I have like 20 or so variables but I cannot see them. And I know its because of the 64bytes because I had the problem before and changed the script to "HideInInspector" so I wouldnt see them. But now - I really want to see the variables so I tried once again to show them and not its messing up again.

    Does anyone had this problem before? Its really weird and very very annyoing!
     
  2. b4guw1x

    b4guw1x

    Joined:
    Apr 16, 2020
    Posts:
    39
    Did you try use FixedString128Bytes ? I use them and i don't have any problem.