Database empty?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
HawkX
Posts: 147
Joined: Mon Feb 27, 2017 1:50 pm
Location: Quebec
Contact:

Database empty?

Post by HawkX »

Hi again!

Damn this team project just keeps having the weirdest issues...
Before, I had always been working solo on games... this one is a group thing, with many people updating stuff...
(we are using PlasticSCM if that changes anything)

Today, I was showing the DialogueSystem to someone, and somehow, i got a warning that
"Dialogue System: Conversation 'Test 01' not found in database.

After investigating, it seems the database was "empty"... I had made 4 actors, each with their portraits added, as well as that one conversation... all of which is gone...

Since we have PlasticSCM, I thought probably someone had accidentally overwritten it with an empty version "somehow"
So i check the "initial database", found the asset, "Game Dialogue Database"
then checked all of that file "modification history"
the thing is, only me has made any commit to that file...
I rolled back to a specific commit which was "updated all 3 characters portraits in dialogue system" and the database is STILL empty...

so... well here I am! once again! :P
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Database empty?

Post by Tony Li »

Hi,

Try this:

1. Close the Dialogue Editor window.

2. Inspect your dialogue database.

3. Tick Show Default Inspector.

Are the Actors and Conversations lists empty?
User avatar
HawkX
Posts: 147
Joined: Mon Feb 27, 2017 1:50 pm
Location: Quebec
Contact:

Re: Database empty?

Post by HawkX »

yes everything shows up as empty...

going to check if there are "another" dialogue database somewhere in the project
User avatar
HawkX
Posts: 147
Joined: Mon Feb 27, 2017 1:50 pm
Location: Quebec
Contact:

Re: Database empty?

Post by HawkX »

there is a demo database... and thats it...

i just tried all 5 "revision" (changeset) of the dialogue database... and they all show up as empty...

how is that even possible? i had dialogue works... i even made a youtube video about it...
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Database empty?

Post by Tony Li »

HawkX wrote: Wed Apr 27, 2022 4:15 pmthere is a demo database... and thats it...
I don't follow. Is your own dialogue database asset present in the project?
HawkX wrote: Wed Apr 27, 2022 4:15 pmi just tried all 5 "revision" (changeset) of the dialogue database... and they all show up as empty...
Assuming your own dialogue database asset was in the project, is it possible that your version control system was pushing up an empty file instead of the actual asset? Could it be a bug with Unity's PlasticSCM integration?

If you check menu item Edit > Project Settings and go to Editor > Asset Serialization > Mode, is it set to Force Text?
User avatar
HawkX
Posts: 147
Joined: Mon Feb 27, 2017 1:50 pm
Location: Quebec
Contact:

Re: Database empty?

Post by HawkX »

Sorry for posting over and over... but i prefer it that way so if you were already in the message/typing, you might not see if I "edit" the previous post...

I actually opened up the Plastic SCM program (instead of using the Unity version),

YES our asset is still there.. but empty... I saw the current file was like 4kb... then I checked the file "history"... saw it went from 20kb in the very first commit, then 27kb, 27kb, somehow it dropped to 16kb earlier this week (with Not a single change having been done to any dialogues in some while)... and the last commit from earlier today dropped it to 4kb (empty)
So PlasticSCM "IN UNITY" does not "revert" files properly... and the program one does... (edit : i tested the 16kb one and it also shows up as empty)

AT least I got the file back (thats the good thing about version control, when it works)

I still dont get what happened or how it happened... and that part is scary...
(yes the unity project settings is set to "force text")

Sorry to have bothered you and cluttered your forum once more! :)
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Database empty?

Post by Tony Li »

No worries; I'm just glad you got your file back!
Post Reply