Importers

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Arctichorse9
Posts: 25
Joined: Wed Sep 25, 2024 11:26 pm
Location: New York City
Contact:

Importers

Post by Arctichorse9 »

Hi. I am trying to keep my file size down in Unity and would like to know if I can delete the Importers like Yarn since I don't use them. I am in awe of the power of the Dialogue System but if I can delete those files it would be helpful. Thanks.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Importers

Post by Tony Li »

Hi,

If you don't tick the corresponding checkbox in the Welcome Window (e.g., USE_YARN), the importer files won't be included in your builds. You can, however, delete these folders: What files can I move or delete?
Arctichorse9
Posts: 25
Joined: Wed Sep 25, 2024 11:26 pm
Location: New York City
Contact:

Re: Importers

Post by Arctichorse9 »

Thank you so much and thank you for the useful link.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Importers

Post by Tony Li »

Happy to help!
Arctichorse9
Posts: 25
Joined: Wed Sep 25, 2024 11:26 pm
Location: New York City
Contact:

Re: Importers

Post by Arctichorse9 »

Hi. I deleted the importers for Articy and all the others, but now when I go to build for Android, I can't and get an error message that the references to Articy, etc. in Dialogue Database Editor script are a problem.

I would like very much to integrate the Dialogue System and Opsive's Ultimate Inventory System but I also need to be able to build for Android.

I tried removing references to the third-party importers from that script but then I get an error message in another script that Chatmapper reference is invalid.

These are not the exact error messages but close. If you need me to post the exact messages, plelase let me know. Thanks.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Importers

Post by Tony Li »

Are you actually editing Dialogue System scripts directly?

If so, that will probably break things, and also not fix your issue, and we will not be able to provide support.

Reminder: Importer code will not be included in your build unless you've ticked the corresponding checkbox (e.g., USE_ARTICY or USE_YARN).

Also, code is very small. If you remove or resize a single texture in your game, it will probably reduce your build size by much more than any changes you could make to code.
Arctichorse9
Posts: 25
Joined: Wed Sep 25, 2024 11:26 pm
Location: New York City
Contact:

Re: Importers

Post by Arctichorse9 »

Everything is ok now. I had deleted two scripts in addition to the third party folder.

Thanks for the tip about texture size.
Post Reply