Error OnExecute
Posted: Thu Aug 08, 2024 8:26 am
Hi,
Im not sure when it happened but I think it is the latest version I installed a couple of days back. I have my oun script that is run in Scene-Independent events. It adds a player object (instantiantes...).
But this error sudenly starts to show and somewhat wierdly influences my code (some of my methods just dont end). The behaviour is very peculiar. The player gets added though.
Could you please navigate me to how to get rid of it?
Tx
Im not sure when it happened but I think it is the latest version I installed a couple of days back. I have my oun script that is run in Scene-Independent events. It adds a player object (instantiantes...).
But this error sudenly starts to show and somewhat wierdly influences my code (some of my methods just dont end). The behaviour is very peculiar. The player gets added though.
Could you please navigate me to how to get rid of it?
Tx
Code: Select all
Scene OnExecute() event failed on dialogue entry 89:2: Object of type 'UnityEngine.Object' cannot be converted to type 'UnityEngine.GameObject'.
UnityEngine.Debug:LogWarning (object)
PixelCrushers.DialogueSystem.ConversationModel:ExecuteEntry (PixelCrushers.DialogueSystem.DialogueEntry,PixelCrushers.DialogueSystem.CharacterInfo) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Model/Logic/Model/ConversationModel.cs:315)
PixelCrushers.DialogueSystem.ConversationModel:GetState (PixelCrushers.DialogueSystem.DialogueEntry,bool,bool,bool) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Model/Logic/Model/ConversationModel.cs:266)
PixelCrushers.DialogueSystem.ConversationModel:GetState (PixelCrushers.DialogueSystem.DialogueEntry) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Model/Logic/Model/ConversationModel.cs:354)
PixelCrushers.DialogueSystem.ConversationController:OnFinishedSubtitle (object,System.EventArgs) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Controller/ConversationController.cs:309)
PixelCrushers.DialogueSystem.ConversationView:FinishSubtitle () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/View/View/ConversationView.cs:437)
PixelCrushers.DialogueSystem.ConversationView:OnFinishedSubtitle () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/View/View/ConversationView.cs:444)
PixelCrushers.DialogueSystem.Sequencer:FinishSequence () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Sequencer/Sequencer.cs:616)
PixelCrushers.DialogueSystem.Sequencer:Update () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Sequencer/Sequencer.cs:608)