Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Resolved NetworkVariable<FixedString32Bytes> : Type Not Renderable Bug?

Discussion in 'Netcode for GameObjects' started by wired2work, Oct 25, 2023.

  1. wired2work


    Dec 11, 2022
    I saw this issue in a post a few months ago and it says that it is fixed. I am currently using NGO 1.6, recently upgraded to it due to another issue I was having, and that issue is fixed and now I am having this issue:

    using System.Collections;
    using System.Collections.Generic;
    using Unity.Collections;
    using Unity.Netcode;
    using UnityEngine;
    public class NGOTest : NetworkBehaviour
    public NetworkVariable<FixedString32Bytes> Player = new();

    The code above is attached to a prefab, if you remove the NetworkVariable or comment it out, the editor will render the script fine.. It seems to only be when using FixedString32Bytes, other types I have tried work fine, int, bool, etc.

    Editor 2022.3.11F1
    NetCode GameObjects 1.6

    Hope this helps, any suggestions?

  2. frankluong_unity


    Unity Technologies

    Feb 25, 2022
    Hi @wired2work,

    I wanted to update you on the issue you reported above. We would like to assure you that our team has thoroughly investigated the matter, and we have identified the root cause of the issue.

    I am pleased to inform you that we have already developed a fix for it. The fix is currently scheduled to be included in our upcoming release com.unity.netcode.gameobjects@1.8.0, which is planned to be released shortly.

    Best regards,
    Frank Luong
    Software Engineer, Quality
  3. wired2work


    Dec 11, 2022
    Thanks, for the response, I will look forward to the update.