#Does Anyone Know How to Summon an Object with Button Click
3 messages · Page 1 of 1 (latest)
put the whole stack trace in https://pastie.io so we can see it all. Also provide the code that's calling CmdSpawnObject from your button click handler
3 messages · Page 1 of 1 (latest)
Code: https://pastie.io/ikzcno.cs
Says: NullReferenceException: Object reference not set to an instance of an object
Mirror.NetworkBehaviour.SendCommandInternal (System.String functionFullName, System.Int32 functionHashCode, Mirror.NetworkWriter writer, System.Int32 channelId, System.Boolean requiresAuthority)
Resolved
put the whole stack trace in https://pastie.io so we can see it all. Also provide the code that's calling CmdSpawnObject from your button click handler