Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved Network Variable : Type not renderable

Discussion in 'Netcode for GameObjects' started by Satanislas, Feb 16, 2023.

  1. Satanislas

    Satanislas

    Joined:
    Dec 23, 2022
    Posts:
    2
    Hi everyone,
    I was wondering why my variables won't show up in the inspector, but sometimes when I manipulate them in my scripts, they appear to be serializable. The picture below show how unity is doing most of the times, image_2023-02-16_101652718.png


    but when i touch them, they appear like that for as long as i don't switch what object i'm inspecting.
    Capture d'écran_20230216_101336.png


    Any clue ?
     
  2. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    437
    Hey @Satanislas , are you using a custom inspector?
     
  3. Satanislas

    Satanislas

    Joined:
    Dec 23, 2022
    Posts:
    2
    Not at all, it's my first game on Unity
     
  4. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    437
    Can you post your inhibitor script, please?
     
  5. wpyle

    wpyle

    Joined:
    Nov 2, 2015
    Posts:
    2
    Screenshot 2023-03-07 231847.png Hi, the example project "2D Space Shooter" provided in the bite-sized samples repo has the same problem. The "Type not renderable" issue can be seen by looking at the "Ship" prefab.

    The issue appears to resolve itself after making any change to the Ship Control script.
     
    Last edited: Mar 8, 2023
  6. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    437
    Thanks for the info! I'll look into this issue myself, will keep you posted :D
     
    wpyle likes this.
  7. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    437
    @wpyle I submitted a fix, now we only have to wait for its approval :D
     
    wpyle likes this.
  8. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    437
    @wpyle @Satanislas quick update: the fix was approved and will be available in a future version of NGO. Thanks for flagging it :D
     
    firebird721 and wpyle like this.
  9. wpyle

    wpyle

    Joined:
    Nov 2, 2015
    Posts:
    2
    Thanks for the resolution!
     
    firebird721 and RikuTheFuffs-U like this.
  10. Unique-Player

    Unique-Player

    Joined:
    May 6, 2017
    Posts:
    72
    2021 LTS does not support newer version of NGO, so the issue still persists on it
     
  11. Unique-Player

    Unique-Player

    Joined:
    May 6, 2017
    Posts:
    72
    Just updated to 2022 LTS and Netcode 1.6, now it is throwing me errors about specified cast is not valid. Apparently it is not fixed. Great job unity, as always.