Description
When NetworkObject prefabs are imported, they get added to the default NetworkPrefabsList multiple times.
This causes the error 'NetworkPrefab (Player) has a duplicate GlobalObjectIdHash source entry value of: 2824519432!' on entering play mode.
Additionally, sometimes when a prefab is added to the list, it does not save them to the asset.
Reproduce Steps
- Make a new project, and setup NGO
- Make a player prefab
- Reimport the prefab.
Actual Outcome
The prefab is in the DefaultNetworkPrefabs asset twice.
Expected Outcome
The prefab is only in the list once.
Screenshots

Environment
- OS: Windows 10
- Unity Version: 2022.2.8f1
- Netcode Version: 86889a3
- Netcode Commit: 86889a3
Description
When NetworkObject prefabs are imported, they get added to the default NetworkPrefabsList multiple times.
This causes the error 'NetworkPrefab (Player) has a duplicate GlobalObjectIdHash source entry value of: 2824519432!' on entering play mode.
Additionally, sometimes when a prefab is added to the list, it does not save them to the asset.
Reproduce Steps
Actual Outcome
The prefab is in the DefaultNetworkPrefabs asset twice.
Expected Outcome
The prefab is only in the list once.
Screenshots
Environment