Can I add a network prefab at runtime?

I use Unity.Netcode. I want to add prefabs via script. Can I do that? I found nothing in the manual.
[192683-снимок2.jpg|192683]

No you can’t the references need to be there for all machines in the build.

We had the same problem, but we added the prefabs runtime to the NetworkManager NetworkManager.Singleton.AddNetworkPrefab(tilePrefab); both on the server and clients and it seems to work. @GetLitGames Do you think it’s a problem?

I shared some code to register NetworkPrefabs by code in the following link.