Search found 14 matches

by patxiku
Wed Mar 28, 2018 4:26 am
Forum: Dialogue System for Unity
Topic: Null reference exception on DLL when responses appear
Replies: 1
Views: 245

Null reference exception on DLL when responses appear

Hi! I'm having a Null Reference Exception each time a response panel is shown, the error is the following: Dialogue System: In ShowResponses(): Object reference not set to an instance of an object UnityEngine.Debug:LogError(Object) PixelCrushers.DialogueSystem.AbstractDialogueUI:ShowResponses(Subtit...
by patxiku
Thu Feb 01, 2018 1:01 am
Forum: Dialogue System for Unity
Topic: Getting rid off LUA
Replies: 2
Views: 353

Re: Getting rid off LUA

Good to know Tony,

Thanks :)
by patxiku
Wed Jan 31, 2018 2:21 am
Forum: Dialogue System for Unity
Topic: Getting rid off LUA
Replies: 2
Views: 353

Getting rid off LUA

Hello,

Is there a way to use my C# variables as C# variables instead of LUA variables?
I mean, conditions and assignations in C# without the need of LUA itself.

I don't know if all my target platforms do support LUA so I don't want to risk it.

Thanks in advance.
by patxiku
Thu Jan 18, 2018 1:37 am
Forum: Dialogue System for Unity
Topic: Error in ShowResponses()
Replies: 4
Views: 492

Re: Error in ShowResponses()

Problem solved,
Silly me, response buttons had no button component, I've added a button component, linked it into the UI Response Button scripts and works like a charm.

The subtitle error was misleading :lol:

Thanks,

Julen.
by patxiku
Thu Jan 18, 2018 1:20 am
Forum: Dialogue System for Unity
Topic: Error in ShowResponses()
Replies: 4
Views: 492

Re: Error in ShowResponses()

Hi Tony, Thanks for answering. I've tested with multiple conversations, it always gives the same error. Everytime a response menu is in invoked it gives the same error. I've installed the 1.7.7.2 patch and the error persists. Responses have no sequence nor condition, <START> node is as it should be....
by patxiku
Wed Jan 17, 2018 5:54 am
Forum: Dialogue System for Unity
Topic: Error in ShowResponses()
Replies: 4
Views: 492

Error in ShowResponses()

I'm getting an error in the mentioned function since the subtitle is null. (Object reference not set to an instance of an object) I've checked that subtitle is indeed null with the debugger. It keeps going after, but I don't like to have any error :lol: Why might the subtitle be null? Thanks in adva...
by patxiku
Mon Jan 08, 2018 8:16 am
Forum: Dialogue System for Unity
Topic: Changing a response into a subtitle on the go
Replies: 3
Views: 514

Changing a response into a subtitle on the go

Hello, Is there any way to change a response into a subtitle depending on a field that the DialogueEntry contains? I wan't my player to change between responses and subtitles, I'm importing the database from Articy, I've tried to change the DialogueSystemController InputSettings "Always force r...
by patxiku
Tue Jan 02, 2018 4:42 am
Forum: Dialogue System for Unity
Topic: Disabling Dialogue System Text color overrides
Replies: 3
Views: 1113

Re: Disabling Dialogue System Text color overrides

Nevermind, I created a new class that inhertis from "UnityUIDialogueUI" and overrided the ShowDialogue Function so it overrides the dialogue style too.
That seems to have fixed it :lol:
Thanks!
by patxiku
Tue Jan 02, 2018 1:15 am
Forum: Dialogue System for Unity
Topic: Disabling Dialogue System Text color overrides
Replies: 3
Views: 1113

Re: Disabling Dialogue System Text color overrides

I'm changing the Text component references values as follows: reference = GetComponent<Text>(); reference.color = overrideColor; reference.font = overrideFont; reference.fontSize = overrideSize; It seems to be overrited each frame by the dialogue system itself, since I have no other style changes. E...