UCC + Pun addon + DIalogue System
Posted: Thu Mar 26, 2020 3:33 pm
Hello Tony,
Hopefully this isn't too big of a question.
I'm expolring setting up a multiplayer system with UCC and their Pun addon. Out of the box if I talk to an NPC I get these errors:
Have you ever tried setting up DS within this setup? Any suggestions about how to approach this? I'm new to Pun and am trying to get my head around the system.
Any help or pointers is appreciated.
Thanks,
Nathan
Hopefully this isn't too big of a question.
I'm expolring setting up a multiplayer system with UCC and their Pun addon. Out of the box if I talk to an NPC I get these errors:
Code: Select all
Error: The object Bennelong must have a NetworkInteractable component.
UnityEngine.Debug:LogError(Object)
Opsive.UltimateCharacterController.Traits.Interactable:Interact(GameObject) (at Assets/Opsive/UltimateCharacterController/Scripts/Traits/Interactable.cs:91)
Opsive.UltimateCharacterController.Character.Abilities.Interact:DoInteract() (at Assets/Opsive/UltimateCharacterController/Scripts/Character/Abilities/Interact.cs:240)
Opsive.UltimateCharacterController.Game.ScheduledEvent:Invoke() (at Assets/Opsive/UltimateCharacterController/Scripts/Game/Scheduler.cs:80)
Opsive.UltimateCharacterController.Game.Scheduler:Invoke(ScheduledEventBase, Int32) (at Assets/Opsive/UltimateCharacterController/Scripts/Game/Scheduler.cs:661)
Opsive.UltimateCharacterController.Game.Scheduler:FixedUpdate() (at Assets/Opsive/UltimateCharacterController/Scripts/Game/Scheduler.cs:329)
Code: Select all
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Traits.Interactable.Interact (UnityEngine.GameObject character) (at Assets/Opsive/UltimateCharacterController/Scripts/Traits/Interactable.cs:94)
Opsive.UltimateCharacterController.Character.Abilities.Interact.DoInteract () (at Assets/Opsive/UltimateCharacterController/Scripts/Character/Abilities/Interact.cs:240)
Opsive.UltimateCharacterController.Game.ScheduledEvent.Invoke () (at Assets/Opsive/UltimateCharacterController/Scripts/Game/Scheduler.cs:80)
Opsive.UltimateCharacterController.Game.Scheduler.Invoke (Opsive.UltimateCharacterController.Game.ScheduledEventBase scheduledEvent, System.Int32 index) (at Assets/Opsive/UltimateCharacterController/Scripts/Game/Scheduler.cs:661)
Opsive.UltimateCharacterController.Game.Scheduler.FixedUpdate () (at Assets/Opsive/UltimateCharacterController/Scripts/Game/Scheduler.cs:329)
Any help or pointers is appreciated.
Thanks,
Nathan