so i want to add objects to prefab table in runtime, and I did what website told me to do (official website), but I don’t know how to call the method to actually add it.
I tried with
runner.Spawn(runner.Prefabs.Load(default, false));
but it says “ArgumentException: Invalid prefab id”
The method does execute, but it does not work properly.
New contributor
Paul Brecelj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3