#HierarchyPrefabType type missing when installing Netcode for Entities in new Unity Project.

1 messages · Page 1 of 1 (latest)

steel wolf
#

I get the following error when installing the 1.0.17 Netcode for Entities package in a new Unity 2023.2.0f1 or 2022.3.13f1 project .
Library\PackageCache\com.unity.netcode@1.0.17\Editor\Authoring\HierarchyDrawers.cs(66,59): error CS0234: The type or namespace name 'HierarchyPrefabType' does not exist in the namespace 'Unity.Hierarchy' (are you missing an assembly reference?)
I use the HDRP renderer.
I've also tried installing earlier versions of the netcode package. Not sure if there's some config that I'm missing. Here's what the Unity.NetCode.Editor assembly looks like, it seems like some assembly definition references are missing, not sure if that could be related? But I also have no idea what I could do about it if it's a unity package.

glossy spire
#

Hey! Thanks for the report, we'll take a look. Can you file this bug via the Unity editor, please, for tracking purposes?

#

As a short term workaround, you can make package modifications to comment out this entire file. It'll remove ghost icons from the editor hierarchy, but that's better than being blocked.

iron shuttle
#

@glossy spire Having the same issue, has it been resolved yet? Or should I just follow the above mentioned steps to work around it?

glossy spire
#

It has not. Christmas holidays have added delays. I'd recommend continuing to use the local modification fix for all issues like this.